<!--
{
  "documentType" : "article",
  "framework" : "Safari Developer Tools",
  "identifier" : "/documentation/Safari-Developer-Tools/macos-enabling-webdriver",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "Enable WebDriver on macOS"
}
-->

# Enable WebDriver on macOS

Enable WebDriver to automate testing of Safari on macOS.

## Enabling WebDriver via Safari

1. From the [Develop menu](/documentation/Safari-Developer-Tools/develop-menu) choose **Developer Settings…**
2. Check the **Allow remote automation** checkbox.

## Enabling WebDriver via Terminal

Run `safaridriver --enable`. (If you are upgrading from a previous version of macOS you may need to use `sudo`.)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)