Skip to content

Running tests in Safari

Andrei Rusu edited this page May 25, 2014 · 9 revisions

Running tests in Safari

Starting with Selenium 2.30.0, the SafariDriver comes bundled with the Selenium server. There's no need for any extra setup, just set the browserName to safari in your desiredCapabilities, e.g.:

"desiredCapabilities" : {
  "browserName" : "safari",
  "javascriptEnabled" : true,
  "acceptSslCerts" : true
}

Safari specific capabilities

See the DesiredCapabilities page over at the Selenium Project for Safari specific capability options.

Safari Driver

More info about the Safari Driver can be found on the SafariDriver office page.