<s> """<STR_LIT>""" <EOL> from saunter . po . webdriver . element import Element <EOL> class CheckBox ( Element ) : <EOL> def __set__ ( self , obj , val ) : <EOL> e = obj . driver . find_element_by_locator ( self . locator ) <EOL> current = e . is_selected ( ) <EOL> if current != val : <EOL> e . click ( ) <EOL> def __get__ ( self , obj , cls = None ) : <EOL> e = obj . driver . find_element_by_locator ( self . locator ) <EOL> return e . is_selected ( ) </s>
