WebDriver: Implement GET /session/{id}/element/{id}/css/{name}

This commit is contained in:
Tobias Christiansen 2022-10-20 12:06:52 +02:00 committed by Linus Groh
commit 354a845d65
Notes: sideshowbarker 2024-07-17 05:16:20 +09:00
7 changed files with 73 additions and 0 deletions

View file

@ -67,6 +67,7 @@ private:
ErrorOr<JsonValue, HttpError> handle_find_elements_from_element(Vector<StringView> const&, JsonValue const& payload);
ErrorOr<JsonValue, HttpError> handle_get_element_attribute(Vector<StringView> const&, JsonValue const& payload);
ErrorOr<JsonValue, HttpError> handle_get_element_property(Vector<StringView> const&, JsonValue const& payload);
ErrorOr<JsonValue, HttpError> handle_get_element_css_value(Vector<StringView> const&, JsonValue const& payload);
ErrorOr<JsonValue, HttpError> handle_get_all_cookies(Vector<StringView> const&, JsonValue const& payload);
ErrorOr<JsonValue, HttpError> handle_get_named_cookie(Vector<StringView> const&, JsonValue const& payload);
ErrorOr<JsonValue, HttpError> handle_add_cookie(Vector<StringView> const&, JsonValue const& payload);