Skip to content

Commit

Permalink
webdriver: Merge pull request #82 from AutomatedTester/cleanup
Browse files Browse the repository at this point in the history
Remove end points no longer supported by Selenium

Source-Repo: https://github.com/mozilla/webdriver-rust
Source-Revision: 3adbb41823203c71779f5a19abf377aab93fb22d

--HG--
extra : subtree_source : http%3A//tristan.corp.lon2.mozilla.com%3A8000
extra : subtree_revision : 8a917910bd245d62c3f27079b13907aadaa78c08
  • Loading branch information
AutomatedTester committed Mar 23, 2017
1 parent 53d17e4 commit d13b8b0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions testing/webdriver/src/httpapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ fn standard_routes<U:WebDriverExtensionRoute>() -> Vec<(Method, &'static str, Ro
(Delete, "/session/{sessionId}/cookie/{name}", Route::DeleteCookie),
(Get, "/session/{sessionId}/timeouts", Route::GetTimeouts),
(Post, "/session/{sessionId}/timeouts", Route::SetTimeouts),
//(Post, "/session/{sessionId}/actions", Route::Actions),
(Post, "/session/{sessionId}/element/{elementId}/click", Route::ElementClick),
(Post, "/session/{sessionId}/element/{elementId}/tap", Route::ElementTap),
(Post, "/session/{sessionId}/element/{elementId}/clear", Route::ElementClear),
Expand All @@ -65,17 +64,6 @@ fn standard_routes<U:WebDriverExtensionRoute>() -> Vec<(Method, &'static str, Ro
(Get, "/session/{sessionId}/element/{elementId}/screenshot", Route::TakeElementScreenshot),
(Post, "/session/{sessionId}/actions", Route::PerformActions),
(Delete, "/session/{sessionId}/actions", Route::ReleaseActions),
// TODO Remove this when > v0.5 is released. There for compatibility reasons with existing
// Webdriver implementations.
(Get, "/session/{sessionId}/alert_text", Route::GetAlertText),
(Post, "/session/{sessionId}/alert_text", Route::SendAlertText),
(Post, "/session/{sessionId}/accept_alert", Route::AcceptAlert),
(Post, "/session/{sessionId}/dismiss_alert", Route::DismissAlert),
(Get, "/session/{sessionId}/window_handle", Route::GetWindowHandle),
(Get, "/session/{sessionId}/window_handles", Route::GetWindowHandles),
(Delete, "/session/{sessionId}/window_handle", Route::CloseWindow),
(Post, "/session/{sessionId}/execute_async", Route::ExecuteAsyncScript),
(Post, "/session/{sessionId}/execute", Route::ExecuteScript),
(Get, "/status", Route::Status),]
}

Expand Down

0 comments on commit d13b8b0

Please sign in to comment.