selenium icon indicating copy to clipboard operation
selenium copied to clipboard

WebDriver interface WebElement now extends TakesScreenshot

Open xlenz opened this issue 11 years ago • 1 comments

Due to changes from 2.46 public interface WebElement extends SearchContext { to 2.47 public interface WebElement extends SearchContext, TakesScreenshot {

it is now required to implement everywhere X getScreenshotAs(OutputType var1) throws WebDriverException;

Is this change really required?

xlenz avatar Sep 14 '15 14:09 xlenz

Yes... It's apart of the W3C spec

https://w3c.github.io/webdriver/webdriver-spec.html#take-element-screenshot

lukeis avatar Sep 14 '15 14:09 lukeis