[Checkins] SVN: gocept.selenium/trunk/src/gocept/selenium/selenese.py Put in a note to explain the locator_pattern usage in getEval.
Christian Theune
ct at gocept.com
Tue Mar 16 09:15:20 EDT 2010
Log message for revision 109984:
Put in a note to explain the locator_pattern usage in getEval.
Changed:
U gocept.selenium/trunk/src/gocept/selenium/selenese.py
-=-
Modified: gocept.selenium/trunk/src/gocept/selenium/selenese.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-03-16 13:06:49 UTC (rev 109983)
+++ gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-03-16 13:15:19 UTC (rev 109984)
@@ -200,6 +200,9 @@
@assert_type('locator_pattern')
@passthrough
def getEval(self, script):
+ # Note: we use the locator_pattern because the script acts like a
+ # locator: we pass it through and Selenium returns a result we can
+ # compare with the pattern.
pass
@assert_type('locator_pattern')
More information about the checkins
mailing list