From cd3c04276cf78e1baddf80a99c5ca7c83381ea93 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 30 Jun 2010 23:05:04 -0400 Subject: [PATCH] Use ID vs link text to open Home ribbon strip when saving --- sitecore/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.26.2