diff options
Diffstat (limited to 'chrome/test/automation/tab_proxy.h')
-rw-r--r-- | chrome/test/automation/tab_proxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h index fbe2573..adcacf9 100644 --- a/chrome/test/automation/tab_proxy.h +++ b/chrome/test/automation/tab_proxy.h @@ -78,6 +78,8 @@ class TabProxy : public AutomationResourceProxy, // will result in value = "string" // jscript = "window.domAutomationController.send(24);" // will result in value = 24 + // NOTE: If this is called from a ui test, |dom_automation_enabled_| must be + // set to true for these functions to work. bool ExecuteAndExtractString(const std::wstring& frame_xpath, const std::wstring& jscript, std::wstring* value) WARN_UNUSED_RESULT; |