How can I run Selenium (used through Capybara) at a lower speed?

后端 未结 5 774
天命终不由人
天命终不由人 2020-12-24 09:15

By default Selenium runs as fast as possible through the scenarios I defined using Cucumber. I would like to set it to run at a lower speed, so I am able to capture a video

5条回答
  •  悲哀的现实
    2020-12-24 10:01

    As an update, the execute method in that class is no longer available. It is now here only:

    module ::Selenium::WebDriver::Remote

    I needed to throttle some tests in IE and this worked.

提交回复
热议问题