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

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

Issue 2230053002: [chromedriver] Added option to make element references W3C compliant. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased code with w3c flag change. Created 4 years, 4 months 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
Index: chrome/test/chromedriver/window_commands.cc
diff --git a/chrome/test/chromedriver/window_commands.cc b/chrome/test/chromedriver/window_commands.cc
index 6fd252408a35e500d54cd2b5cf73df98ef1bc343..81a6fa1e4040e0ac400339da0d635b871a9a10c5 100644
--- a/chrome/test/chromedriver/window_commands.cc
+++ b/chrome/test/chromedriver/window_commands.cc
@@ -857,7 +857,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);

Powered by Google App Engine
This is Rietveld 408576698