self.s.find_element_by_id -> self.s.w.find... in prof/import.py
authorW. Trevor King <wking@drexel.edu>
Tue, 29 Jun 2010 15:38:37 +0000 (11:38 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 29 Jun 2010 15:38:37 +0000 (11:38 -0400)
sitecore/prof/import.py

index f2b77ab0b2cad82640742611b703142f1083e742..bfcdb9e1d01596bf1a68dbad5b48c779222853e1 100644 (file)
@@ -62,7 +62,7 @@ class ProfessorAdder (object):
         current_window = self.s.w.get_current_window_handle()
         self.s.logger.info('handling copy popup %s (from %s)'
                          % (current_window, windows))
-        name = self.s.find_element_by_id('Filename')
+        name = self.s.w.find_element_by_id('Filename')
         name.clear()
         name.send_keys(
             '/sitecore/content/Home/physics/contact/facultyDirectory/%s %s'