mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
![]() `driver#scroll_to` allows scrolling. For example, page.driver.scroll 200, 100 will set window.scrollX to 200 and window.scrollY to 100 if the viewport can scroll that far. The `:selector` option for render allows element capture. For example, page.render selector: '#penultimate' will take a screenshot of the entire element, even if it is outside the current viewport. |
||
---|---|---|
.. | ||
capybara |