Update webdriver.

This commit is contained in:
Ms2ger 2016-04-05 10:33:03 +02:00
parent 84b30b0641
commit cc6976d92c
4 changed files with 6 additions and 8 deletions

View file

@ -31,4 +31,4 @@ rustc-serialize = "0.3.4"
regex = "0.1.55"
url = {version = "0.5.7", features = ["heap_size"]}
uuid = "0.1"
webdriver = "0.7"
webdriver = "0.8"

View file

@ -602,7 +602,7 @@ impl Handler {
"page load" => self.load_timeout = value,
"script" => self.script_timeout = value,
x => return Err(WebDriverError::new(ErrorStatus::InvalidSelector,
&format!("Unknown timeout type {}", x)))
format!("Unknown timeout type {}", x)))
}
Ok(WebDriverResponse::Void)
}