rod icon indicating copy to clipboard operation
rod copied to clipboard

Scrolling page to load lazy content?

Open apikee opened this issue 3 years ago • 3 comments

Hello, wondering if the MustElement is able to scroll on the page in search of target selector or not - or how to do that programatically, meaning scroll to bottom of the page to load all lazy content.

Or perhaps use MustEval to scroll the page with JS?

Thank you

apikee avatar Sep 07 '22 20:09 apikee

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.109.3

Please fix the format of your markdown:

1:202 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]

generated by check-issue

rod-robot avatar Sep 07 '22 20:09 rod-robot

page.MustElement("at-bottom").MustScrollIntoView()

ysmood avatar Sep 07 '22 23:09 ysmood

Thanks, i'll try it

apikee avatar Sep 08 '22 14:09 apikee