mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
WebDriver: Implement POST /session/{id}/forward endpoint
This commit is contained in:
parent
9132656856
commit
a4fa604bde
7 changed files with 46 additions and 0 deletions
|
@ -60,4 +60,11 @@ void WebDriverConnection::back()
|
|||
browser_window->active_tab().go_back();
|
||||
}
|
||||
|
||||
void WebDriverConnection::forward()
|
||||
{
|
||||
dbgln("WebDriverConnection: forward");
|
||||
if (auto browser_window = m_browser_window.strong_ref())
|
||||
browser_window->active_tab().go_forward();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue