I'm trying to automate some stuff with Safari WebDriver and faced an issue with opening all pages.
As you could see from screenshot Safari driver was successfully created, but page was not loaded.
Safari Can’t Open the Page
Safari can’t open the page “https://www.google.com/”. The error is: “WebKit encountered an internal error” (WebKitErrorDomain:300)(If I will click on this message and stop session - page will opened as usual after reload, but this will broke my test.)
I'm just running Safari driver as "safaridriver -p 8888". Driver was created as "RemoteWebDriver driver = new RemoteWebDriver(new URL("http://localhost:8888"), DesiredCapabilities.safari())"
I'm using macOS 10.12.4 (16E195), Safari Version 10.1 (12603.1.30.0.34), Java 1.8.0_101, Selenium 3.3.1
Any suggestions?