From: W. Trevor King Date: Wed, 30 Jun 2010 21:48:22 +0000 (-0400) Subject: Also look at iframes for children X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a38bde61fee85db0be6e7857628dd2a8e4a33221;p=sitecorepy.git Also look at iframes for children --- diff --git a/sitecore/__init__.py b/sitecore/__init__.py index 91c8e77..b771c5d 100755 --- a/sitecore/__init__.py +++ b/sitecore/__init__.py @@ -157,7 +157,7 @@ class SiteCoreConnection (object): # >>> a.get_attribute('id') # FIELD*, but the number * changes between sessions/versions fields = [] - for tag in ['input', 'textarea']: + for tag in ['input', 'textarea', 'iframe']: fields.extend([f for f in self.w.find_elements_by_tag_name(tag) if f.get_attribute('id').startswith('FIELD')]) match = False