Tag Info

New answers tagged


I tried using this code but it doesn't work for me @AfterClass public void TearDown() { if(driver!=null) { driver.quit(); } }


In Python: browser = webdriver.Firefox() browser.quit


Firefox selenium web extension has an option to make the test run slower or faster using a sliding bar. Not sure if IE or Chrome has this if not i would just use the debugger.


The easiest way to do that in selenium webdriver is to extend your prefered WebDriver (e.g. FirefoxDriver) and override the execute methods. Write a Thread.sleep(yourWaitTime) in every execute method before return. Voila there is your speed reduce: @Override protected Response execute(String driverCommand, Map<String, ?> parameters) { try { ...

Top 50 recent answers are included