Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium is not able to launch the IE.

Selenium is not able to launch the IE.

10:56:25,005 INFO [org.openqa.selenium.server.SeleniumDriverResourceHandler] Command request: getNewBrowserSession[*iexploreproxy, http://192.168.132.105:8080/, ] on session null 10:56:25,005 INFO [org.openqa.selenium.server.BrowserSessionFactory] creating new remote session 10:56:25,005 INFO [org.openqa.selenium.server.BrowserSessionFactory] Allocated session 9fa93fe865904e3da895c91a86ebdcb0 for http://192.168.132.105:8080/, launching... 10:56:25,005 INFO [org.openqa.selenium.server.browserlaunchers.WindowsProxyManager] Modifying registry settings... 10:56:25,474 INFO [org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher] Launching Internet Explorer...

After the Internet Explorer... it won't respond. Please help me in fixing this issue.

like image 422
Anil Kumar C Avatar asked Mar 12 '12 05:03

Anil Kumar C


1 Answers

How are you starting the hub and the node?

For the node, this worked for me:

  1. Download InternetExplorerDriver from http://code.google.com/p/selenium/downloads/list to c:\Selenium
  2. Download Selenium stand alone server(selenium-server-standalone-2.20.0.jar) from http://code.google.com/p/selenium/downloads/list to c:\Selenium
  3. Start the node: java -jar selenium-server-standalone-2.20.0.jar -role webdriver -hub http://192.168.1.248:4444/grid/register -browser browserName="internet explorer",version=8.0,platform=WINDOWS -Dwebdriver.internetexplorer.driver=c:\Selenium\InternetExplorerDriver.exe

I am using OSX to run the hub, Virtual Box to run Windows 7 Home and the IE hub.

Also, make sure that the Protected Mode settings are the same for all zones.

like image 105
John Naegle Avatar answered Jan 04 '23 01:01

John Naegle