Safari驱动程序在最新的macOS更新后无法正常工作

时间:2018-07-17 11:07:10

标签: selenium-webdriver safaridriver

在最新的macOS更新之后,我无法在野生动物园上运行JAVA硒测试。这是抛出的错误: 有谁知道我如何使野生动物园司机再次工作?

dyld: lazy symbol binding failed: Symbol not found: __Z18WDSafariDriverMainiPKPc
  Referenced from: /usr/bin/safaridriver
  Expected in: /System/Library/PrivateFrameworks/WebDriver.framework/Versions/A/WebDriver

dyld: Symbol not found: __Z18WDSafariDriverMainiPKPc
  Referenced from: /usr/bin/safaridriver
  Expected in: /System/Library/PrivateFrameworks/WebDriver.framework/Versions/A/WebDriver

Exception in thread "main" org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:1535
Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:32:14.902Z'
System info: host: 'k-MacBook-Pro.local', ip: '192.168.20.xxx', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.6', java.version: '1.8.0_171'
Driver info: driver.version: SafariDriver
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:92)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)

0 个答案:

没有答案