[Checkins] SVN: gocept.selenium/trunk/ added selenese command openWindow, moved existing selectWindow to sort methods alphabetically, renamed its argument for consistency

Thomas Lotze tl at gocept.com
Wed Nov 30 06:47:53 UTC 2011


Log message for revision 123545:
  added selenese command openWindow, moved existing selectWindow to sort methods alphabetically, renamed its argument for consistency

Changed:
  U   gocept.selenium/trunk/CHANGES.txt
  U   gocept.selenium/trunk/src/gocept/selenium/selenese.py

-=-
Modified: gocept.selenium/trunk/CHANGES.txt
===================================================================
--- gocept.selenium/trunk/CHANGES.txt	2011-11-30 06:24:49 UTC (rev 123544)
+++ gocept.selenium/trunk/CHANGES.txt	2011-11-30 06:47:53 UTC (rev 123545)
@@ -7,7 +7,9 @@
 - Added a selenese assert type 'list' and added it to the window management
   query methods.
 
+- API expansion: added ``openWindow``.
 
+
 0.12 (2011-11-29)
 -----------------
 

Modified: gocept.selenium/trunk/src/gocept/selenium/selenese.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/selenese.py	2011-11-30 06:24:49 UTC (rev 123544)
+++ gocept.selenium/trunk/src/gocept/selenium/selenese.py	2011-11-30 06:47:53 UTC (rev 123545)
@@ -109,10 +109,6 @@
         self.selenium.do_command("open", [url, ignoreResponseCode])
 
     @passthrough
-    def selectWindow(self, name):
-        pass
-
-    @passthrough
     def addCustomRequestHeader(self, key, value):
         pass
 
@@ -305,6 +301,10 @@
     def mouseUpRightAt(self, locator, coord):
         pass
 
+    @passthrough
+    def openWindow(self, url, window_id):
+        pass
+
     def refresh(self):
         # No thanks to selenium... why would one ever *not* want to wait for
         # the page to load?
@@ -336,6 +336,10 @@
         pass
 
     @passthrough
+    def selectWindow(self, window_id):
+        pass
+
+    @passthrough
     def submit(self, locator):
         pass
 



More information about the checkins mailing list