Search code examples
macosseleniumcucumberbehatsafaridriver

Running Cucumber Tests with Selenium on Mac OSX 10.11 For Safari


I've been searching around for a way to run our Behat (PHP dist of Cucumber) tests on Safari, however we encounter the problem of Selenium Safari Driver not being able to use simple click functionality, which is breaking the majority of our browser tests.

As Safari (at time of writing this post) is around 9% of all browser usage, according to browser stats, it is a necessity to test it.

The click functionality works with Chrome, Firefox and Opera.

Does anyone have any solutions?

  • Mac OSX 10.11
  • Safari 9.0
  • Selenium Safari Driver 2.47.1
  • Latest SafariDriver.safariextz
  • Behat 2.5.3

Solution

  • It seems as there is still an open issue concerning the Selenium Safari Driver with Safari 9. You could try to apply the suggestion in one of the comments.