I have a rails app that uses selenium-webdriver (2.53.0). I am trying to overcome to the issue with Selenium (with a Firefox driver) where buttons that scroll under a static header get hidden. How do I set capabilities elementScrollBehavior to 1 for a FireFox configuration in rails?
I have this code:
profile ||= Selenium::WebDriver::Firefox::Profile.new
My environment isn't set up the same as yours but capabilities object needs to be set.