Selenium Java - JavaScriptExecutor
You want to scroll a page to a specific WebElement using JavaScript in Selenium Java. Which code snippet correctly achieves this?
scrollIntoView(true) called on the element.arguments[0].scrollIntoView(true); to scroll.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions