summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebDriverClient.ipc
blob: 28e3ac0096fa8d8adb9e791fe38341f8d9c6c945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include <LibWeb/WebDriver/Capabilities.h>
#include <LibWeb/WebDriver/Response.h>

endpoint WebDriverClient {
    close_session() => ()
    set_page_load_strategy(Web::WebDriver::PageLoadStrategy page_load_strategy) =|
    set_unhandled_prompt_behavior(Web::WebDriver::UnhandledPromptBehavior unhandled_prompt_behavior) =|
    set_strict_file_interactability(bool strict_file_interactability) =|
    set_is_webdriver_active(bool active) =|
    get_timeouts() => (Web::WebDriver::Response response)
    set_timeouts(JsonValue payload) => (Web::WebDriver::Response response)
    navigate_to(JsonValue payload) => (Web::WebDriver::Response response)
    get_current_url() => (Web::WebDriver::Response response)
    back() => (Web::WebDriver::Response response)
    forward() => (Web::WebDriver::Response response)
    refresh() => (Web::WebDriver::Response response)
    get_title() => (Web::WebDriver::Response response)
    close_window() => (Web::WebDriver::Response response)
    get_window_rect() => (Web::WebDriver::Response response)
    set_window_rect(JsonValue payload) => (Web::WebDriver::Response response)
    maximize_window() => (Web::WebDriver::Response response)
    minimize_window() => (Web::WebDriver::Response response)
    fullscreen_window() => (Web::WebDriver::Response response)
    find_element(JsonValue payload) => (Web::WebDriver::Response response)
    find_elements(JsonValue payload) => (Web::WebDriver::Response response)
    find_element_from_element(JsonValue payload, String element_id) => (Web::WebDriver::Response response)
    find_elements_from_element(JsonValue payload, String element_id) => (Web::WebDriver::Response response)
    find_element_from_shadow_root(JsonValue payload, String shadow_id) => (Web::WebDriver::Response response)
    find_elements_from_shadow_root(JsonValue payload, String shadow_id) => (Web::WebDriver::Response response)
    get_active_element() => (Web::WebDriver::Response response)
    get_element_shadow_root(String element_id) => (Web::WebDriver::Response response)
    is_element_selected(String element_id) => (Web::WebDriver::Response response)
    get_element_attribute(String element_id, String name) => (Web::WebDriver::Response response)
    get_element_property(String element_id, String name) => (Web::WebDriver::Response response)
    get_element_css_value(String element_id, String name) => (Web::WebDriver::Response response)
    get_element_text(String element_id) => (Web::WebDriver::Response response)
    get_element_tag_name(String element_id) => (Web::WebDriver::Response response)
    get_element_rect(String element_id) => (Web::WebDriver::Response response)
    is_element_enabled(String element_id) => (Web::WebDriver::Response response)
    get_computed_role(String element_id) => (Web::WebDriver::Response response)
    get_computed_label(String element_id) => (Web::WebDriver::Response response)
    element_click(String 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)
    get_all_cookies() => (Web::WebDriver::Response response)
    get_named_cookie(String name) => (Web::WebDriver::Response response)
    add_cookie(JsonValue payload) => (Web::WebDriver::Response response)
    delete_cookie(String name) => (Web::WebDriver::Response response)
    delete_all_cookies() => (Web::WebDriver::Response response)
    dismiss_alert() => (Web::WebDriver::Response response)
    accept_alert() => (Web::WebDriver::Response response)
    get_alert_text() => (Web::WebDriver::Response response)
    send_alert_text(JsonValue payload) => (Web::WebDriver::Response response)
    take_screenshot() => (Web::WebDriver::Response response)
    take_element_screenshot(String element_id) => (Web::WebDriver::Response response)
    print_page() => (Web::WebDriver::Response response)
}