Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python selenium webdriver safari driver

Quick question, I've been building a python selenium framework for testing our site. I have successfully implemented Firefox, Chrome and IE for browser testing. But have been searching for Safari driver. I know in the official documents it briefly describes it's incompatibilities and doesn't support Safari. What would you guys suggest I use for testing Safari functionality with python and selenium. Is it possible using python?

I've searched and search and can't seem to find any related Safari driver.

Thanks in advance,

like image 514
hackthisjay Avatar asked Dec 06 '25 18:12

hackthisjay


2 Answers

Check out this blog post. It's for Java, but the process for Python ought to be much the same.

like image 114
ACK_stoverflow Avatar answered Dec 08 '25 07:12

ACK_stoverflow


The bindings for a local SafariDriver have not yet been implemented. If you want this feature, star the following issue at the bug tracker of Selenium:

  • Issue 5352: [SafariDriver] implement local safari driver in python binding
like image 36
Rob W Avatar answered Dec 08 '25 08:12

Rob W



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!