|
Post by Zhirong on Sept 1, 2015 9:26:38 GMT
Use org.safs.selenium.webdriver.lib.WDLibrary.maximizeBrowserWindow();to keep the browser in maximum during the automation tests execution. However, I updated the SeleniumPlus to the latest version (28Aug2015). The broswer can not keep in maximum after performing some actions on the component (Text as a sample).
The actions as following: Click Show Source to open the sample source Update the the sample source Clik Apply Changes
Does anyone have the same issue in your automation testing? When you perform some actions on the components, the browser size got changed. And you did not specify thebrowser size explicitly in your test.
|
|
|
Post by leiwang on Sept 2, 2015 1:03:01 GMT
What is the API that changes the window's size? Normally, after calling StartWebBrowser(), the browser will be normally set to a default size, currently it is 1024*768. If user wants to resize or move the browser, he can use the APIs provided in SeleniumPlus.Window
|
|