Quality Testing

Quality is delighting customers

Hi Friends,

Can anyone suggest me few methods to  control webdriver execution speed. 

Regards,

Views: 1731

Reply to This

Replies to This Discussion

Hi,

one way I can think of is : http://seleniumhq.org/docs/04_webdriver_advanced.jsp#explicit-and-i...

Hope it helps.

Akshay

Hi,

 By using setSpeed() to control webdriver execution speed

-S Sarita.

Hi Sarita,

Is setSpeed() works?

Can you please give some example? thanks!

Regards,

Hemapriya R

As per my information I dnt have seen any function that help us in controlling the speed of WebDriver. 

But in webdriver we have explicit and implicit wait that works as a speed controller but these are used to just wait for a specific code for visibility of element.

On the otherhand Selenium RC is lashed with setSpeed() function and through this function we can control the speed just by giving time argument of time type in milisecond

Thanks to all for your valuable reply..

You can use Thread.Sleep(500) (or equivalent) in whatever language you are using to run web driver. This will cause the thread to pause for an exact number of milliseconds.

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service