在端口25267上启动ChromeDriver 2.35.528157()仅允许本地连接

时间:2018-03-06 08:27:31

标签: selenium-chromedriver

请帮我解决Selenium和ChromeDriver的问题。我在使用MacOS时遇到问题

  • eclipse Oxygen
  • java 1.8
  • selenium 3.9.1
  • chromedriver 2.35
消息是:



Starting ChromeDriver 2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef) on port 25267
Only local connections are allowed.
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: session not created exception
from disconnected: unable to connect to renderer
  (Session info: chrome=64.0.3282.186)
  (Driver info: chromedriver=2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef),platform=Mac OS X 10.13.2 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 527 milliseconds
Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:42:22.379Z'
System info: host: 'S-MIS-DAILV-2.local', ip: 'fe80:0:0:0:4f0:884f:5322:f47f%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.2', java.version: '1.8.0_162'
Driver info: driver.version: ChromeDriver




非常感谢您查看此问题。

0 个答案:

没有答案