Use cypress-recurse To Scroll The Page Until It Loads The Text We Are Looking For

Published: 22 October 2021
on channel: gleb bahmutov
6,132
79

In this video, I use cypress-recurse function to keep scrolling the page until we find the word "debug". We yield that found quote and highlight it. The same technique can be used to find an element on the paginated sites, or when the content changes on reload. Find the plugin at https://github.com/bahmutov/cypress-r... and the example test at


Watch video Use cypress-recurse To Scroll The Page Until It Loads The Text We Are Looking For online, duration hours minute second in high quality that is uploaded to the channel gleb bahmutov 22 October 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 6,132 times and liked it 79 visitors.