Issue : Unable to maximize Safari desktop browser using selenium webdriver options.
Details :
OS : macOS Sierra Version : 10.12.5
browser : Safari (Version : 10.1.1)
Selenium Standalone Server : Version 3.4.0
Command syntax failed to work :
driver.manage().window().maximize(); // executed but no action performed on Application window.
Code Used :
SafariOptions options = new SafariOptions();
options.SetUseCleanSession(true);
options.SetUseTechnologyPreview(true);
driver=new SafariDriver(options);
Error Webdriver exception.
Tried excluding and including the option SetUseTechnologyPreview. Both failed.