mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
WebDriver: Implement POST /session/{id}/window/fullscreen
endpoint
This commit is contained in:
parent
6805cf00ad
commit
1aa16b4dd4
12 changed files with 57 additions and 0 deletions
|
@ -287,6 +287,11 @@ Tab::Tab(BrowserWindow& window)
|
|||
return this->window().rect();
|
||||
};
|
||||
|
||||
view().on_fullscreen_window = [this]() {
|
||||
this->window().set_fullscreen(true);
|
||||
return this->window().rect();
|
||||
};
|
||||
|
||||
m_link_context_menu = GUI::Menu::construct();
|
||||
auto link_default_action = GUI::Action::create("&Open", g_icon_bag.go_to, [this](auto&) {
|
||||
view().on_link_click(m_link_context_menu_url, "", 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue