Commit b20a63b6 authored by samuong's avatar samuong Committed by Commit bot

[chromedriver] Remove warning message for GetCurrentUrl.

BUG=chromedriver:1249

Review URL: https://codereview.chromium.org/1642773002

Cr-Commit-Position: refs/heads/master@{#371916}
parent 77009e2d
...@@ -467,14 +467,6 @@ Status ExecuteGetCurrentUrl( ...@@ -467,14 +467,6 @@ Status ExecuteGetCurrentUrl(
return status; return status;
} }
} }
if (!session->GetCurrentFrameId().empty()) {
// TODO(samuong): remove this after we release ChromeDriver 2.21.
LOG(WARNING)
<< "As of ChromeDriver 2.21, GetCurrentUrl now returns the "
"URL of the top-level browsing context, not the current frame. "
"See https://code.google.com/p/chromedriver/issues/detail?id=1249 "
"for details and workarounds.";
}
value->reset(new base::StringValue(url)); value->reset(new base::StringValue(url));
return Status(kOk); return Status(kOk);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment