Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

setSpeed in Selenium WebDriver using Ruby

Is there a way to set the Selenium Webdriver execution speed in ruby.

In perl for selenium 1(RC) there was $sel->set_speed("500");

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.

Read somewhere the options "Slow", "Medium" and "Fast" as arguments to set speed in C# and Perl, but not in Ruby.

Note - I do have timeouts set with this @driver.manage.timeouts.implicit_wait = 30 but i am looking for execution speed.

like image 305
Amey Avatar asked Dec 20 '11 23:12

Amey


People also ask

Does Selenium support Ruby?

Selenium is a browser-based test framework that allows one to automate user actions and interactions with web applications. You can use Selenium WebDriver APIs to devise test code using Selenium-supported languages like Ruby, Java, JavaScript, C#, and Python.


1 Answers

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.

like image 119
JimEvans Avatar answered Nov 11 '22 21:11

JimEvans