triadascrap.blogg.se

Vnc viewer for mac minimize chrome
Vnc viewer for mac minimize chrome






vnc viewer for mac minimize chrome

Int intScreenHeight = Integer.parseInt(screenHeight) Int intScreenWidth = Integer.parseInt(screenWidth) String screenHeight = jse.executeScript("return screen.availHeight").toString() String screenWidth = jse.executeScript("return screen.availWidth").toString() JavascriptExecutor jse = (JavascriptExecutor)driver SafariOptions options = new SafariOptions() Really I thought my issue got resolved with this solution, tried code to maximize Safari browser, but getting an exception. Please help to overcome the Safari browser to maximize the issue on MAC. We are not getting any exception, code is executing but not performing any action. Due to this, we are unable to locate some of the controls on application. While executing test scripts on MAC, the below code is not maximizing the Safari browser, which is working fine for other browsers(IE, Chrome, and Firefox) on Windows. Selenium standalone server version : 3.4.0Ĭonnected MAC VM with the VNC viewer (Sysadmin team provided MAC VM for our testing).

#Vnc viewer for mac minimize chrome mac os#

MAC OS version : macOS Sierra version 10.12.5 We have got the requirement to run automated test scripts on MAC operating system - Safari browser. We have working code to run automated test scripts on the Windows operating system for the three browsers (IE, Chrome, Firefox - Latest version). We are using Selenium with Java to automate our Web application.








Vnc viewer for mac minimize chrome