mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
WebDriver: Implement POST /session/{id}/refresh
endpoint
This commit is contained in:
parent
8653903bee
commit
1179d951f6
7 changed files with 48 additions and 0 deletions
|
@ -46,4 +46,11 @@ Messages::WebDriverSessionClient::GetTitleResponse WebDriverConnection::get_titl
|
|||
return { "" };
|
||||
}
|
||||
|
||||
void WebDriverConnection::refresh()
|
||||
{
|
||||
dbgln("WebDriverConnection: refresh");
|
||||
if (auto browser_window = m_browser_window.strong_ref())
|
||||
browser_window->active_tab().reload();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue