Ejemplo n.º 1
0
 def _get_select_value_(self, locator_by: By, locator_value):
     wd = self.app.wd
     # TODO check Element is Present
     locator_value = Select(wd.find_element(locator_by, locator_value))
     value = locator_value.__getattribute__('value')
     return wd.find_element(locator_by, locator_value).text