是否有可能通过硒在 ubuntu 上运行 IE8



我可以手动在 ubuntu 上使用 playOnlinux 运行 IE。您认为如何使用Selenium WebDriver运行它?

[TestNG] Running:
  /tmp/testng-eclipse--935095095/testng-customsuite.xml
FAILED CONFIGURATION: @BeforeTest setUp
java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.ie.driver system property; for more information, see http://code.google.com/p/selenium/wiki/InternetExplorerDriver. The latest version can be downloaded from http://selenium-release.storage.googleapis.com/index.html
    at com.google.common.base.Preconditions.checkState(Preconditions.java:176)
    at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:105)
    at org.openqa.selenium.ie.InternetExplorerDriverService.access$100(InternetExplorerDriverService.java:38)
    at org.openqa.selenium.ie.InternetExplorerDriverService$Builder.build(InternetExplorerDriverService.java:247)
    at org.openqa.selenium.ie.InternetExplorerDriver.setupService(InternetExplorerDriver.java:251)
    at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:172)
    at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:146)
    at com.example.fw.ApplicationManager.<init>(ApplicationManager.java:70)
    at

我应该确切地安装哪些库?

谢谢

我很

确定这行不通。

相反,在真正的Windows机器上自动化IE,或使用独立的Selenium服务器:您自己的服务器,或BrowserStackSaucelabs

最新更新