scrollIntoView
How to c.find(Locator::Css("#ID")).await?.scrollIntoView().await?.click().await?;
I don't think the scrollIntoView method is implemented yet, though it's easy enough to implement.
PRs welcome :)
I don't think the scrollIntoView method is implemented yet, though it's easy enough to implement.
I would like to work on this, any pointers on where I should start?
Hmm, looking at the WebDriver spec, I don't see a scroll into view command :thinking: It may not exist at the moment, in which case the way to do it is simply to run the appropriate JavaScript with Client::execute.