Closed jeffposnick closed 5 years ago
We currently have Travis CI set up to run on OS X, which should be helpful as a way of running the Safari-based tests.
However, Apple locks down Safari by default, so that you can't use webdriver with it until you explicitly select a menu item to enable it.
This is obviously not possible to do directly in the Travis environment.
This Stack Overflow question has some suggestions:
sudo /usr/bin/safaridriver --enable sudo defaults write com.apple.Safari AllowRemoteAutomation 1
They seem to work, at least in the version of OS X that's currently being used by Travis CI, though the SO response indicates that Apple may have locked things down further in later releases.
We currently have Travis CI set up to run on OS X, which should be helpful as a way of running the Safari-based tests.
However, Apple locks down Safari by default, so that you can't use webdriver with it until you explicitly select a menu item to enable it.
This is obviously not possible to do directly in the Travis environment.
This Stack Overflow question has some suggestions:
They seem to work, at least in the version of OS X that's currently being used by Travis CI, though the SO response indicates that Apple may have locked things down further in later releases.