Search code examples
seleniumwebdriver

Selenium get value of current implicit wait


I realize that Selenium has a default value for implicit waits, but how do I get this value if I change it? For example:

driver.implicitly_wait( 13 );

How do I later get the 13 value from the driver?


Solution

  • Unfortunately there's no getter for that.

    http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/WebDriver.Timeouts.html

    There isn't for explicit waits either.

    http://selenium.googlecode.com/svn/trunk/docs/api/java/com/thoughtworks/selenium/Wait.html