Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
392 views
by Contributing Tester (92 points)
retagged by
Safari v5.1.7 latest for Windows 7 giving exception on execution. Please let me know if someone has solution.

Exception in thread "main" org.openqa.selenium.WebDriverException: SafariDriver requires Safari 10 running on OSX El Capitan or greater.
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System info: host: 'Ravi-PC', ip: '192.168.145.1', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_111'
Driver info: driver.version: SafariDriver
    at org.openqa.selenium.safari.SafariDriver.getExecutor(SafariDriver.java:75)
    at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:62)
    at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:42)
    at com.seleniumHandsOn.LaunchBrowser.main(LaunchBrowser.java:13)

1 Answer

0 like 0 dislike
by The go-to Tester (142 points)
It looks like your safaridriver is updated/outdated, try upgrading your safaridriver first, if that does not work, try downgrading it.

For Safari on windows, apple has dropped support. So, it will be difficult to execute safari on windows.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...