tools: Errors on Safari 10

So I am getting the following error:

Failed to connect to SafariDriver after 10064 ms Build info: version: ‘2.53.1’, revision: ‘a36b8b1’, time: ‘2016-06-30 17:37:03’ System info: host: ‘lukas-macbook-pro.local’, ip: ‘10.1.1.16’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_102’ Driver info: driver.version: SafariDriver safari 10.0 Tests failed: Until Selenium’s SafariDriver supports Safari 6.2+, 7.1+, & 8.0+, you must manually install it. Follow the steps at: https://github.com/SeleniumHQ/selenium/wiki/SafariDriver#getting-started Test run ended in failure: 8 failed tests, Until Selenium’s SafariDriver supports Safari 6.2+, 7.1+, & 8.0+, you must manually install it. Follow the steps at: https://github.com/SeleniumHQ/selenium/wiki/SafariDriver#getting-started

chrome 54 (0/0/8) safari 10.0 (error)

Error: 8 failed tests, Until Selenium’s SafariDriver supports Safari 6.2+, 7.1+, & 8.0+, you must manually install it. Follow the steps at: https://github.com/SeleniumHQ/selenium/wiki/SafariDriver#getting-started

However for Safari 10 which I have, there is not additional driver, according to selenium.

How can I fix this? I am on OSX 10.11.6

This event happens when using the seed-element:

Installing and starting Selenium server for local browsers Selenium server running on port 55362 Web server running on port 2000 and serving from /Users/lukasoppermann/Code/seed-element chrome 54 Beginning tests via http://localhost:2000/components/seed-element/generated-index.html?cli_browser_id=0 chrome 54 Tests passed Failed to connect to SafariDriver after 10062 ms Build info: version: ‘2.53.1’, revision: ‘a36b8b1’, time: ‘2016-06-30 17:37:03’ System info: host: ‘lukas-macbook-pro.local’, ip: ‘10.1.1.16’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.6’, java.version: ‘1.8.0_102’ Driver info: driver.version: SafariDriver safari 10.0 Tests failed: Until Selenium’s SafariDriver supports Safari 6.2+, 7.1+, & 8.0+, you must manually install it. Follow the steps at: https://github.com/SeleniumHQ/selenium/wiki/SafariDriver#getting-started Test run ended in failure: Until Selenium’s SafariDriver supports Safari 6.2+, 7.1+, & 8.0+, you must manually install it. Follow the steps at: https://github.com/SeleniumHQ/selenium/wiki/SafariDriver#getting-started

chrome 54 (8/0/0) safari 10.0 (error)

Error: Until Selenium’s SafariDriver supports Safari 6.2+, 7.1+, & 8.0+, you must manually install it. Follow the steps at: https://github.com/SeleniumHQ/selenium/wiki/SafariDriver#getting-started

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

Safari 10 has webdriver built in, but you need to enable it. From https://webkit.org/blog/6900/webdriver-support-in-safari-10/

  • Ensure that the Develop menu is available. It can be turned on by opening Safari preferences (Safari > Preferences in the menu bar), going to the Advanced tab, and ensuring that the Show Develop menu in menu bar checkbox is checked.
  • Enable Remote Automation in the Develop menu. This is toggled via Develop > Allow Remote Automation in the menu bar.
  • Authorize safaridriver to launch the webdriverd service which hosts the local web server. To permit this, run /usr/bin/safaridriver once manually and complete the authentication prompt.

Sorry my bad, my issue is solved simply by killing existing webdriver process.