Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7198)

Unified Diff: chrome/test/chromedriver/window_commands.cc

Issue 2295443003: [chromedriver] Added option to make element references W3C compliant. (Closed)
Patch Set: fix errors introduced during previous rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/test/run_py_tests.py ('k') | chrome/test/data/chromedriver/element_ref.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/window_commands.cc
diff --git a/chrome/test/chromedriver/window_commands.cc b/chrome/test/chromedriver/window_commands.cc
index ac2598a6dba354b1b9fc0a03acb23ea73e2fd4e1..8857a732f3bb07f12b32ab6f43bc12714a2e022b 100644
--- a/chrome/test/chromedriver/window_commands.cc
+++ b/chrome/test/chromedriver/window_commands.cc
@@ -858,7 +858,8 @@ Status ExecuteScreenshot(Session* session,
status = session->chrome->GetAsDesktop(&desktop);
if (status.IsOk() && !session->force_devtools_screenshot) {
AutomationExtension* extension = NULL;
- status = desktop->GetAutomationExtension(&extension);
+ status = desktop->GetAutomationExtension(&extension,
+ session->w3c_compliant);
if (status.IsError())
return status;
status = extension->CaptureScreenshot(&screenshot);
« no previous file with comments | « chrome/test/chromedriver/test/run_py_tests.py ('k') | chrome/test/data/chromedriver/element_ref.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698