Selenium无法启动IE. [英] Selenium is not able to launch the IE.

查看:143
本文介绍了Selenium无法启动IE.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Selenium无法启动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...

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...

Internet Explorer...之后,它将不响应.请帮助我解决此问题.

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

推荐答案

如何启动集线器和节点?

How are you starting the hub and the node?

对于该节点,这对我有用:

For the node, this worked for me:

  1. http://code.google.com/p/selenium/downloads/list转到c:\ Selenium
  2. http://下载Selenium独立服务器(selenium-server-standalone-2.20.0.jar) code.google.com/p/selenium/downloads/list 到c:\ Selenium
  3. 启动节点: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
  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

我正在使用OSX运行集线器,使用Virtual Box运行Windows 7 Home和IE集线器.

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.

这篇关于Selenium无法启动IE.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆