Enabling safaridriver support on macOS

Resolving safaridriver Errors

The Apple-provided safaridriver needs to be enabled before interaction with Safari can take place. Without enabling this, you may run into the following type of errors:

SessionNotCreatedError: Could not create a session: You must enable the 'Allow Remote Automation' option in Safari's Develop menu to control Safari via WebDriver.
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:517:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:655:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:581:28)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)

To resolve this, you can use the CircleCI macOS orb and enable safaridriver testing. 

Was this article helpful?
3 out of 12 found this helpful



Article is closed for comments.