I have a MacBook m2 and I want to test with the Safari web browser. I received this message when I compiled my small test with Intellij idea ce.
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
My code is:
public class automateBrowsers {
public static void main(String[] args) {
WebDriverManager.safaridriver().setup();
WebDriver driver = new SafariDriver();
}
}
I already allow remote automation from Safari develop. So any help, please?
Source: Read More