Everytime when I run Selenium IDE the speed control is set to "fast" It is possible to set the speed control per default to "slow"?
Basically, you would want to reduce a speed of Selenium WebDriver to make sure that your script does not fail as the element does not appear or takes time to appear. You can mostly do this by implementing Implicit Wait or Explicit wait. WebDriverWait wait = new WebDriverWait(driver, 10); WebElement element = wait.
To expand on MacGyver's response, you can put the setSpeed anywhere in your tests, not just at the beginning. For example, you can use setSpeed = 0 when checking for static elements on a page, then change setSpeed to something greater to test things like text entry, etc.
Set execution speed (i.e., set the millisecond length of a delay which will follow each selenium operation). By default, there is no such delay, i.e., the delay is 0 milliseconds.
Put this command in the beginning of your script:
Command: setSpeed
Target: 3000
The IDE has a slow speed and a fast speed. However, this is more precise so you can control the delay per command in milliseconds. This example will have it wait 3 seconds per command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With