In my project I'm trying to enable automation tests using Selenium (3.4.0, also tried lower versions) on Mac with Safari. As Apple forums say, I'm using Technology preview for tests.
Safari starts okay, but all sites are failing with following error:
Safari can't open page. The error is "Webkit encountered an internal error" (WebkitErrorDomain:300)
But in not-automation session everything opens correctly.
Here is how browser driver is initialized:
SafariOptions safariOptions = new SafariOptions();
safariOptions.setUseTechnologyPreview(true);
safariOptions.setUseCleanSession(true);
caps.setCapability(SafariOptions.CAPABILITY, safariOptions);
driver = new SafariDriver(caps);
Do you have any thoughts? Thanks in advance