Method: Selenium::WebDriver::WheelActions#default_scroll_duration
- Defined in:
- lib/selenium/webdriver/common/interactions/wheel_actions.rb
permalink #default_scroll_duration ⇒ Object
By default this is set to 250ms in the ActionBuilder constructor It can be overridden with default_scroll_duration=
30 31 32 |
# File 'lib/selenium/webdriver/common/interactions/wheel_actions.rb', line 30 def default_scroll_duration @default_scroll_duration ||= @duration / 1000.0 # convert ms to seconds end |