From 11a412943237bf175d96ecc74f261564f3d3f7dc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 30 Jun 2010 12:04:40 -0400 Subject: [PATCH] s.w -> self.w in sitecore/__init__.py --- sitecore/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sitecore/__init__.py b/sitecore/__init__.py index f34d0cc..10b3c8a 100755 --- a/sitecore/__init__.py +++ b/sitecore/__init__.py @@ -156,7 +156,7 @@ class SiteCoreConnection (object): # >>> a = s.w.switch_to_active_element() # >>> a.get_attribute('id') # FIELD*, but the number * changes between sessions/versions - fields = [f for f in s.w.find_elements_by_tag_name('input') + fields = [f for f in self.w.find_elements_by_tag_name('input') if f.get_attribute('id').startswith('FIELD')] match = False for f in fields: -- 2.26.2