我正面临webdriver 2.3.x API的问题。当机器被锁定时,Webdriver截图API不会截屏
1.Webdriver is not able to capture screenshots on IE when machine is locked.
code I am using for screenshot is:
File scrFile = ((TakesScreenshot)wd).getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(scrFile, new File(<URL>));
2.Even, APIs like mouseover (using actions), click(), SwitchTo() does not work if machine gets locked while execution is in progress.
我们因为这些问题而陷入困境。请提出一个解决方案来解决这个问题。
发布IE驱动程序服务器和IE浏览器版本。 – Manigandan