Search code examples
grailsseleniumgroovyeasyb

Slowing down the Selenium process in easyb


I m trying to slow down the BDD process in easyb and automated selenium , using

    `selenium.waitForPageToLoad("3000000")` 

line but it doesnt seems to be working is there any thing else i need to add between each line to slow down each steps performed by the automated selenium in easyb test


Solution

  • selenium.waitForPageToLoad("3000000") sets how long Selenium will wait for a page to load before timing out.

    If the page loads before the 3000000ms is up, then it moves on immediately.

    To actually slow down Selenium as it clicks on elements etc, you can set: selenium.setSpeed("milliseconds")