| Index: chrome/test/chromedriver/session_commands.cc
|
| diff --git a/chrome/test/chromedriver/session_commands.cc b/chrome/test/chromedriver/session_commands.cc
|
| index 55b7d6ce8d54ac4b1436115453c70b85c17bd9ab..096ad75bc3137579eb7c2ee8ff87f397e01c89b1 100644
|
| --- a/chrome/test/chromedriver/session_commands.cc
|
| +++ b/chrome/test/chromedriver/session_commands.cc
|
| @@ -97,6 +97,7 @@ std::unique_ptr<base::DictionaryValue> CreateCapabilities(Chrome* chrome) {
|
| caps->SetString("version", chrome->GetBrowserInfo()->browser_version);
|
| caps->SetString("chrome.chromedriverVersion", kChromeDriverVersion);
|
| caps->SetString("platform", chrome->GetOperatingSystemName());
|
| + caps->SetString("pageLoadStrategy", chrome->page_load_strategy());
|
| caps->SetBoolean("javascriptEnabled", true);
|
| caps->SetBoolean("takesScreenshot", true);
|
| caps->SetBoolean("takesHeapSnapshot", true);
|
| @@ -199,6 +200,8 @@ Status InitSessionHelper(const InitSessionParams& bound_params,
|
| if (status.IsError())
|
| return status;
|
|
|
| + session->chrome->set_page_load_strategy(capabilities.page_load_strategy);
|
| +
|
| std::list<std::string> web_view_ids;
|
| status = session->chrome->GetWebViewIds(&web_view_ids);
|
| if (status.IsError() || web_view_ids.empty()) {
|
|
|