Open colababy opened 7 years ago
driver.get("http://mail.163.com/"); WebElement element = driver.findElement(By.cssSelector("header.header")); File screenShot = element.getScreenshotAs(OutputType.FILE);
code above gets warning of 'Screenshot not supported on jBrowserDriver WebElements'. is there a way to capture an WebElement?
code above gets warning of 'Screenshot not supported on jBrowserDriver WebElements'. is there a way to capture an WebElement?