使用Ruby的Selenium WebDriver中的setSpeed
有没有一种方法可以设置红宝石中Selenium Webdriver的执行速度.
Is there a way to set the Selenium Webdriver execution speed in ruby.
硒1(RC)的perl中有$sel->set_speed("500");
In perl for selenium 1(RC) there was $sel->set_speed("500");
但是由于Selenium RC的某些限制,我不得不转向Selenium Webdriver,不得不开始使用Ruby,而我找不到相同的功能.
But due to some constraints of Selenium RC, I had to shift to Selenium Webdriver and had to start using Ruby, and I cannot find the function for the same.
在某些地方读取选项"Slow","Medium"和"Fast"作为在C#和Perl中设置速度的参数,而在Ruby中则不然.
Read somewhere the options "Slow", "Medium" and "Fast" as arguments to set speed in C# and Perl, but not in Ruby.
注意-我确实为此@driver.manage.timeouts.implicit_wait = 30
设置了超时,但是我正在寻找执行速度.
Note - I do have timeouts set with this @driver.manage.timeouts.implicit_wait = 30
but i am looking for execution speed.
前一段时间,所有语言绑定都已弃用了在WebDriver中设置执行速度的方法.不再可能修改正在运行的WebDriver代码的执行速度.
The methods to set the execution speed in WebDriver were deprecated for all language bindings some time ago. It is no longer possible to modify the execution speed of the running WebDriver code.