mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:25:07 +00:00
Browser+LibWebView: Add WebDriver IPC plumbing for executing scripts
This commit is contained in:
parent
b572a91a6f
commit
747ba2a88f
7 changed files with 40 additions and 0 deletions
|
@ -592,6 +592,11 @@ Gfx::ShareableBitmap OutOfProcessWebView::take_screenshot() const
|
|||
return {};
|
||||
}
|
||||
|
||||
Messages::WebContentServer::WebdriverExecuteScriptResponse OutOfProcessWebView::webdriver_execute_script(String const& body, Vector<String> const& json_arguments, Optional<u64> const& timeout, bool async)
|
||||
{
|
||||
return client().webdriver_execute_script(body, json_arguments, timeout, async);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::focusin_event(GUI::FocusEvent&)
|
||||
{
|
||||
client().async_set_has_focus(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue