From 181c41a9ba720c7f2a1f4580e4296980dee4208a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 29 Jun 2010 09:10:35 -0400 Subject: [PATCH] self.w -> self.s.w in prof/import.py --- sitecore/prof/import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sitecore/prof/import.py b/sitecore/prof/import.py index 580bc53..68e781b 100644 --- a/sitecore/prof/import.py +++ b/sitecore/prof/import.py @@ -58,8 +58,8 @@ class ProfessorAdder (object): self.s.open_nav_section('Copy of Shyamalendu Bose') self.s.w.find_element_by_link_text('Copy To').click() time.sleep(self.s.wait_time) - windows = self.w.get_window_handles() - current_window = self.w.get_current_window_handle() + windows = self.s.w.get_window_handles() + current_window = self.s.w.get_current_window_handle() self.logger.info('handling copy popup %s (from %s)' % (current_window, windows)) name = self.s.find_element_by_id('Filename') -- 2.26.2