mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:07:43 +00:00
WebContent+WebDriver: Send the parsed capabilities over to WebContent
This commit is contained in:
parent
e0c7b5747d
commit
adc7977ec7
4 changed files with 84 additions and 3 deletions
|
@ -280,6 +280,21 @@ void WebDriverConnection::close_session()
|
|||
m_page_host.page().top_level_browsing_context().close();
|
||||
}
|
||||
|
||||
void WebDriverConnection::set_page_load_strategy(Web::WebDriver::PageLoadStrategy const& page_load_strategy)
|
||||
{
|
||||
m_page_load_strategy = page_load_strategy;
|
||||
}
|
||||
|
||||
void WebDriverConnection::set_unhandled_prompt_behavior(Web::WebDriver::UnhandledPromptBehavior const& unhandled_prompt_behavior)
|
||||
{
|
||||
m_unhandled_prompt_behavior = unhandled_prompt_behavior;
|
||||
}
|
||||
|
||||
void WebDriverConnection::set_strict_file_interactability(bool strict_file_interactability)
|
||||
{
|
||||
m_strict_file_interactability = strict_file_interactability;
|
||||
}
|
||||
|
||||
void WebDriverConnection::set_is_webdriver_active(bool is_webdriver_active)
|
||||
{
|
||||
m_page_host.set_is_webdriver_active(is_webdriver_active);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue