mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
Browser+WebContent+WebDriver: Move Get Title to WebContent
This commit is contained in:
parent
7f142745e2
commit
2c9549cb76
9 changed files with 18 additions and 27 deletions
|
@ -27,12 +27,4 @@ void WebDriverConnection::quit()
|
|||
browser_window->close();
|
||||
}
|
||||
|
||||
Messages::WebDriverSessionClient::GetTitleResponse WebDriverConnection::get_title()
|
||||
{
|
||||
dbgln_if(WEBDRIVER_DEBUG, "WebDriverConnection: get_title");
|
||||
if (auto browser_window = m_browser_window.strong_ref())
|
||||
return { browser_window->active_tab().title() };
|
||||
return { "" };
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue