Post

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

By Rafaela Azevedo
Good night,
When you have errors in a execution of webdriver, and for some reason appears a message told that selenium is closed and your selenium doesn’t really closed.
Put this code for initialize the execution:
String Servidor = “http://127.0.0.1:4444/wd/hub“;
DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
WebDriver driver = new RemoteWebDriver(new URL(Servidor),capabilities);
This way you will execute the test in your local machine and force this.

Source: http://azevedorafaela.wordpress.com/2013/05/26/one-solution-for-error-in-execution-of-webdriver/

Category: Programming, QA, Test and Automation Stuffs, desired capabilities webdriver, error execution webdriver, open localhost desired capabilities

Você também pode querer ler

Comments are off for this post.