-1

I am trying to increase the timeout time for my scripts. How do I do this?

So far, I have:

java -jar /var/www/sites/all/srk_tests/test_data/selenium-server-standalone-2.25.0.jar -userExtensions /var/www/sites/all/srk_tests/user-extensions.js -timeout 40000  -htmlSuite *firefox mysiteurlhere /var/www/sites/all/srk_tests/organization_test/organization_test_ts.html /var/www/sites/all/srk_tests/test_results/organization_test_results.html

But the "-timeout 40000" does not work.

I am trying to allow a command in my script enough time to finish running and not time out after 30000ms

thanks.

4

1 回答 1

1

硒 RC:

selenium.setTimeout("40000");

硒网络驱动程序:

driver.manage().timeouts().implicitlyWait(40, TimeUnit.SECONDS);
于 2012-09-27T06:41:47.803 回答