mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
Browser: Refactor WebDriver flag activation into a single function
This commit is contained in:
parent
b0eb45f7c7
commit
3ed1a14371
3 changed files with 8 additions and 2 deletions
|
@ -152,7 +152,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
// The first tab is created with the BrowserWindow above, so we have to do this
|
||||
// manually once after establishing the connection.
|
||||
window->active_tab().view().set_is_webdriver_active(true);
|
||||
window->active_tab().enable_webdriver_mode();
|
||||
}
|
||||
|
||||
auto content_filters_watcher = TRY(Core::FileWatcher::create());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue