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

@ -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)
}