Esempio n. 1
0
 def get_attr_value(self, attr_name, optional=False):
     try:
         return DriverElementCommands.get_attr_value(
             self.driver_element, attr_name)
     except Exception as e:
         if optional:
             return None
         else:
             raise e
Esempio n. 2
0
 def get_text_content(self):
     return DriverElementCommands.get_text_content(self.driver_element)
Esempio n. 3
0
 def is_clickable(self):
     return DriverElementCommands.is_clickable(self.driver_element)
Esempio n. 4
0
 def get_tag_name(self):
     return DriverElementCommands.get_tag_name(self.driver_element)
Esempio n. 5
0
 def is_visible(self):
     return DriverElementCommands.is_visible(self.driver_element)
Esempio n. 6
0
 def is_selected(self):
     return DriverElementCommands.is_selected(self.driver_element)
Esempio n. 7
0
 def send_text(self, text):
     DriverElementCommands.send_text(self.driver_element, text)
Esempio n. 8
0
 def clear_text(self):
     DriverElementCommands.clear_text(self.driver_element)
Esempio n. 9
0
 def click(self):
     DriverElementCommands.click(self.driver_element)