mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
webdriver_server: remove non-conforming screenshot capabilities
The WebDriver standard no longer specifies that the takeScreenshot and takeElementScreenshot capabilities since it is assumed that all driver implementations must support these features.
This commit is contained in:
parent
88cd8a3cf0
commit
8653ef77c2
1 changed files with 0 additions and 2 deletions
|
@ -304,8 +304,6 @@ impl Handler {
|
|||
capabilities.insert("browserName".to_owned(), "servo".to_json());
|
||||
capabilities.insert("browserVersion".to_owned(), "0.0.1".to_json());
|
||||
capabilities.insert("acceptSslCerts".to_owned(), false.to_json());
|
||||
capabilities.insert("takeScreenshot".to_owned(), true.to_json());
|
||||
capabilities.insert("takeElementScreenshot".to_owned(), false.to_json());
|
||||
let rv = Ok(WebDriverResponse::NewSession(
|
||||
NewSessionResponse::new(
|
||||
session.id.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue