1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:07:45 +00:00

WebDriver: Implement stub for .../element/{element id}/click

This patch adds a stub implementation for the POST
/session/{session id}/element/{element id}/click endpoint.
This commit is contained in:
Baitinq 2022-12-24 02:17:06 +01:00 committed by Andreas Kling
parent 6a72a4df96
commit 419dea0996
7 changed files with 58 additions and 0 deletions

View file

@ -40,6 +40,7 @@ endpoint WebDriverClient {
get_element_tag_name(DeprecatedString element_id) => (Web::WebDriver::Response response)
get_element_rect(DeprecatedString element_id) => (Web::WebDriver::Response response)
is_element_enabled(DeprecatedString element_id) => (Web::WebDriver::Response response)
click(DeprecatedString element_id) => (Web::WebDriver::Response response)
get_source() => (Web::WebDriver::Response response)
execute_script(JsonValue payload) => (Web::WebDriver::Response response)
execute_async_script(JsonValue payload) => (Web::WebDriver::Response response)