mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:38:10 +00:00
WebContent+WebDriver: Move Find Element to WebContent
Note that this does nothing to "fix" how element references are created. We continue to return the element ID because, otherwise, all other element WebDriver endpoints would break. On the bright side, we avoid several IPC round trips now that we perform the entire 'find' operation in the WebContent process; and we are able to work directly on DOM nodes.
This commit is contained in:
parent
15916e5c14
commit
61de50c7fd
6 changed files with 120 additions and 58 deletions
|
@ -9,4 +9,5 @@ endpoint WebDriverClient {
|
|||
set_window_rect(JsonValue payload) => (Web::WebDriver::Response response)
|
||||
maximize_window() => (Web::WebDriver::Response response)
|
||||
minimize_window() => (Web::WebDriver::Response response)
|
||||
find_element(JsonValue payload) => (Web::WebDriver::Response response)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue