for field_name,value in settings:
if value == None:
value = ''
- granddad,field = s.find_field(field_name)
+ granddad,field = self.s.find_field(field_name)
field.clear()
field.send_keys(value)
- #granddad,field = s.find_field('Headshot:')
+ #granddad,field = self.s.find_field('Headshot:')
#granddad.find_element_by_link_text('Properties')
# TODO, set width/height
- s.publish_section('Added/updated Prof. %s' % prof.name.last)
+ self.s.publish_section('Added/updated Prof. %s' % prof.name.last)
def create_prof_page(self, name):
self.s.open_nav_section(name)