Bug 1414256 - [webdriver] Fix spelling error for unknown capabilities. r=jgraham,whimboo

MozReview-Commit-ID: 5mrQLw81loK

--HG--
extra : rebase_source : 745790bf6f9abbbdca4218b9e0493cad7f1c8763
This commit is contained in:
Steve Armand 2017-11-04 19:00:48 -04:00
parent fa911e3e35
commit 6c2bd362a0

View File

@ -110,7 +110,7 @@ impl SpecNewSessionParameters {
x => {
if !x.contains(":") {
return Err(WebDriverError::new(ErrorStatus::InvalidArgument,
format!("{} is not a the name of a known capability or a valid extension capability", x)))
format!("{} is not the name of a known capability or a valid extension capability", x)))
} else {
try!(browser_capabilities.validate_custom(x, value));
}
@ -130,7 +130,7 @@ impl SpecNewSessionParameters {
x => {
return Err(WebDriverError::new(
ErrorStatus::InvalidArgument,
format!("\"{}\" not a valid page load strategy", x)))
format!("\"{}\" is not a valid page load strategy", x)))
}
}
}