[Checkins] SVN: gocept.selenium/trunk/ Ignore the code of a server's response when calling `open`. The default
Christian Theune
ct at gocept.com
Thu Apr 1 08:21:31 EDT 2010
Log message for revision 110386:
Ignore the code of a server's response when calling `open`. The default
behaviour of SeleniumRC changed between 1.0.1 and 1.0.2 but we want the old
behaviour by default.
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 2010-04-01 12:15:56 UTC (rev 110385)
+++ gocept.selenium/trunk/CHANGES.txt 2010-04-01 12:21:31 UTC (rev 110386)
@@ -6,7 +6,11 @@
- API expansion: added ``getSelectedLabel``.
+- Ignore the code of a server's response when calling `open`. The default
+ behaviour of SeleniumRC changed between 1.0.1 and 1.0.2 but we want the old
+ behaviour by default.
+
0.4 (2010-03-30)
----------------
Modified: gocept.selenium/trunk/src/gocept/selenium/selenese.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-04-01 12:15:56 UTC (rev 110385)
+++ gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-04-01 12:21:31 UTC (rev 110386)
@@ -78,6 +78,9 @@
self.selenium.wait_for_pop_up(windowID, timeout)
self.selenium.select_pop_up(windowID)
+ def open(self, url, ignoreResponseCode=True):
+ self.selenium.do_command("open", [url, ignoreResponseCode])
+
@passthrough
def close(self):
self.selenium.deselectPopUp()
@@ -144,10 +147,6 @@
pass
@passthrough
- def open(self):
- pass
-
- @passthrough
def refresh(self):
pass
@@ -282,6 +281,7 @@
def __getattr__(self, name):
requested_name = name
+
def _getattr(name):
try:
return getattr(self, name)
More information about the checkins
mailing list