mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
WebDriver+Browser: Implement GET /session/{id}/element/{id}/enabled
This commit is contained in:
parent
683c99f299
commit
0f2b4d0aac
9 changed files with 64 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Florent Castelli <florent.castelli@gmail.com>
|
||||
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2022, Tim Flynn <trflynn89@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -64,6 +65,7 @@ public:
|
|||
ErrorOr<JsonValue, WebDriverError> get_element_text(JsonValue const& payload, StringView element_id);
|
||||
ErrorOr<JsonValue, WebDriverError> get_element_tag_name(JsonValue const& payload, StringView element_id);
|
||||
ErrorOr<JsonValue, WebDriverError> get_element_rect(StringView element_id);
|
||||
ErrorOr<JsonValue, WebDriverError> is_element_enabled(StringView element_id);
|
||||
ErrorOr<JsonValue, WebDriverError> get_source();
|
||||
ErrorOr<JsonValue, WebDriverError> execute_script(JsonValue const& payload);
|
||||
ErrorOr<JsonValue, WebDriverError> execute_async_script(JsonValue const& payload);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue