SeleniumBase/help_docs/using_safari_driver.md

10 lines
689 B
Markdown
Raw Normal View History

2022-08-06 06:27:38 +08:00
## Using Safari's WebDriver for running browser tests on macOS
2019-11-04 14:16:47 +08:00
*(NOTE: Safari's WebDriver requires macOS 10.13 "High Sierra" or later.)*
2020-05-16 01:15:37 +08:00
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)
2019-11-04 14:16:47 +08:00
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``.)
2019-11-04 14:16:47 +08:00
Now you can use ``--browser=safari`` to run your **SeleniumBase** tests on Safari.