I am running a Selenium test that includes invoking two browsers: Firefox and Google Chrome. The script first invokes Firefox and all goes smoothly, but when invokes Chrome, apparently I have some problems with the SSL Certificates that does not allow the test to run.
The behavior is that I start both browsers with the following command:
sele1 = new DefaultSelenium(“localhost”, 4444, “*firefox”, “http://www.google.es/”);
//Establish the second browser
sele2 = new DefaultSelenium(“localhost”, 4444, “*googlechrome” , “http://www.facebook.com”);
//Start the first test case
sele1.start();
//Start the second test case
sele2.start();
Then after both browsers starts, all of the sudden Chrome shuts down (no error is shown).
After running all the commands needed for Firefox, the Chrome browser shows the following error on the Selenium Server (node):
Done: /status
Couldn’t proxy to http://jvutamyakw/ because host not found
Couldn’t proxy to http://lqsvihpmai/ because host not found
Couldn’t proxy to http://eqxsaiaqaf/ because host not found
I need to test both browsers, so I don’t need to create another Firefox profile to test it (have tried and is not a viable solution and does not work as well).
HELP and thanks in advance!
After some time testing, I finally was able to use the *googlechrome, *firefox and *iexplore browsers with selenium on a parallel test.
Using Selenium RC I have started a Selenium Server as a HUB indicating “trustAllSSLCertificates”. Then started a Selenium Server as a NODE indicating as well “trustAllSSLCertificates” and I got rid of the SSL certificate problems!
Thanks AJ!