From: W. Trevor King Date: Thu, 1 Jul 2010 03:05:04 +0000 (-0400) Subject: Use ID vs link text to open Home ribbon strip when saving X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd3c04276cf78e1baddf80a99c5ca7c83381ea93;p=sitecorepy.git Use ID vs link text to open Home ribbon strip when saving --- diff --git a/sitecore/__init__.py b/sitecore/__init__.py index 84e3bed..90a3892 100755 --- a/sitecore/__init__.py +++ b/sitecore/__init__.py @@ -132,6 +132,8 @@ class SiteCoreConnection (object): def save_section(self): self.logger.info('saving current section') + self.w.find_element_by_id('Ribbon_Nav_HomeStrip').click() + time.sleep(self.wait_time) self.w.find_element_by_link_text('Save').click() time.sleep(self.wait_time)