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

Опубликовано: 22 Октябрь 2021
на канале: 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


Смотрите видео Use cypress-recurse To Scroll The Page Until It Loads The Text We Are Looking For онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь gleb bahmutov 22 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 6,132 раз и оно понравилось 79 людям.