I'm trying to use Safari WebDriver, and I followed the instructions here to build a Safari Driver, but now I don't know how to import it and use it in my code.
I'm using python on Mac OSX
I'm trying to use Safari WebDriver, and I followed the instructions here to build a Safari Driver, but now I don't know how to import it and use it in my code.
I'm using python on Mac OSX
If you are using safari version 12 and later and Mac version High Sierra and later just make sure Safari’s executable is located at
/usr/bin/safaridriver
and Run oncesafaridriver --enable
in terminal and start running selenium scripts os safariUsing Python 2.7.5 and python module selenium (2.41.0).
This example opens a Safari browser and does my bidding:
but here is what appears in the terminal when I run it:
If someone knows if you're able to disable logging from the jar file through a python call I'd love to know how.