1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

WebContent: Set the WebDriver active flag directly on the Page

One less thing for headless-browser to need to implement.
This commit is contained in:
Timothy Flynn 2022-11-21 15:23:49 -05:00 committed by Linus Groh
parent c917a59abe
commit d1c6b85dcf
3 changed files with 1 additions and 7 deletions

View file

@ -297,7 +297,7 @@ void WebDriverConnection::set_strict_file_interactability(bool strict_file_inter
void WebDriverConnection::set_is_webdriver_active(bool is_webdriver_active)
{
m_page_host.set_is_webdriver_active(is_webdriver_active);
m_page_host.page().set_is_webdriver_active(is_webdriver_active);
}
// 9.1 Get Timeouts, https://w3c.github.io/webdriver/#dfn-get-timeouts