SeleniumBase/help_docs/using_safari_driver.md

12 lines
709 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- SeleniumBase Docs -->
## Using Safari's WebDriver for running browser tests on macOS
*(NOTE: Safari's WebDriver requires macOS 10.13 "High Sierra" or later.)*
You can find the official Apple documentation regarding "Testing with WebDriver in Safari" on the following page: [https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari](https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari)
Run ``safaridriver --enable`` once in a terminal to enable Safari's WebDriver. (If youre upgrading from a previous macOS release, you may need to prefix the command with ``sudo``.)
Now you can use ``--safari`` to run your **SeleniumBase** tests on Safari.