Skip to content Skip to sidebar Skip to footer

How Do I Test A Safari Extension With Selenium In Python?

We created extensions for Chrome, Firefox and Safari and we want to test our extensions with Selenium. I already created tests for Chrome and Firefox with our extension, and now I

Solution 1:

It is impossible. Automatic installation of extensions was removed in 2.45 due to security updates of safari browser.

Solution 2:

There is no driver for Safari extension but I imagine you can always exec the command from python "open ".

This will bring up the safari install dialog which you can answer using accessibility APIs on the Mac.

Good luck. I hope it helps.

Post a Comment for "How Do I Test A Safari Extension With Selenium In Python?"