aknuds1
aknuds1

Reputation: 68077

Scroll to element with FluentAutomation?

Is it possible to scroll to an element with FluentAutomation + Selenium, e.g. to click a button outside of the currently visible area? If so, how?

From browsing the FluentAutomation docs, I can't see any support for this. The problem is that if an element is outside the currently visible area, it can't be interacted with (e.g. clicked) via FluentAutomation.

Upvotes: 0

Views: 614

Answers (1)

stirno
stirno

Reputation: 598

Use I.Hover(selector) to cause an element to scroll into view. Selenium implicitly handles managing the viewport via what the test is touching.

Upvotes: 1

Related Questions