Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mozilla/geckodriver.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Tolfsen <ato@mozilla.com>2017-05-05 12:58:04 +0300
committerGitHub <noreply@github.com>2017-05-05 12:58:04 +0300
commitd30e757d4496e231010526cee6e5866ceadfb9d1 (patch)
tree84dd1fc99fa2ee19144acda5c828d9739b7c2689
parent4060a72ba56130319daef8096ece492cd04a5440 (diff)
marionette: correct error when there is no current session (#701)
Fixes: https://github.com/mozilla/geckodriver/issues/689
-rw-r--r--src/marionette.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/marionette.rs b/src/marionette.rs
index 35e0be9..81463c2 100644
--- a/src/marionette.rs
+++ b/src/marionette.rs
@@ -504,7 +504,7 @@ impl WebDriverHandler<GeckoExtensionRoute> for MarionetteHandler {
},
_ => {
return Err(WebDriverError::new(
- ErrorStatus::UnknownError,
+ ErrorStatus::SessionNotCreated,
"Tried to run command without establishing a connection"));
}
}