mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 21:57:18 +00:00
LibWeb: Begin implementing the Element Send Keys endpoint
This commit is contained in:
parent
922837f31b
commit
23d134708c
Notes:
github-actions[bot]
2024-10-11 07:10:13 +00:00
Author: https://github.com/trflynn89
Commit: 23d134708c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1725
8 changed files with 349 additions and 127 deletions
|
@ -220,6 +220,13 @@ Web::WebDriver::Response Session::element_click(String element_id) const
|
|||
});
|
||||
}
|
||||
|
||||
Web::WebDriver::Response Session::element_send_keys(String element_id, JsonValue payload) const
|
||||
{
|
||||
return perform_async_action(web_content_connection().on_actions_performed, [&]() {
|
||||
return web_content_connection().element_send_keys(move(element_id), move(payload));
|
||||
});
|
||||
}
|
||||
|
||||
Web::WebDriver::Response Session::perform_actions(JsonValue payload) const
|
||||
{
|
||||
return perform_async_action(web_content_connection().on_actions_performed, [&]() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue