summaryrefslogtreecommitdiffstats
path: root/chrome/test/pyautolib/pyautolib.i
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/pyautolib/pyautolib.i')
-rw-r--r--chrome/test/pyautolib/pyautolib.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/pyautolib/pyautolib.i b/chrome/test/pyautolib/pyautolib.i
index 626303f..63ec51f 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -276,6 +276,10 @@ class PyUITestBase {
%feature("docstring", "Open a new browser window.") OpenNewBrowserWindow;
bool OpenNewBrowserWindow(bool show);
+ %feature("docstring", "Fetch the number of browser windows. Includes popups.")
+ GetBrowserWindowCount;
+ int GetBrowserWindowCount();
+
%feature("docstring", "Get the index of the active tab in the given or "
"first window. Indexes are zero-based.") GetActiveTabIndex;
int GetActiveTabIndex(int window_index=0);