What would be the Python Selenium WebDriver equivalent for setTimeout and setSpeed? I have following Selenium IDE code which returns an error when exported to Python/unittest/Webdriver code:
<tr>
<td>setTimeout</td>
<td>60000</td>
<td></td>
</tr>
<tr>
<td>setSpeed</td>
<td>0</td>
<td></td>
</tr>
Exported Python/unittest/WebDriver code is as below:
def test_sam(self):
driver = self.driver
# ERROR: Caught exception [ERROR: Unsupported command [setTimeout]]
# ERROR: Caught exception [ERROR: Unsupported command [setSpeed]]
.....
The same IDE code works for RC but not for WebDriver. Please help me regarding this.
If I’m understanding your question correctly then I think the equivalent for setSpeed would be
Something equivalent to set speed I have not come across. You can try removing it and seeing if you encounter any failures. In my experience all you need is the implicit wait.
See this page for full docs: http://seleniumhq.org/docs/04_webdriver_advanced.html