示例#1
0
 def change_status(self, new_status):
     self.click_on_elem(self.change_status_select)
     status_selector = '//option[text()[contains(.,"' + new_status + '")]]'
     self.click_on_elem(status_selector)
     alert_obj = self.browser.switch_to.alert
     alert_obj.accept()
     loaders = Loaders(self.browser)
     loaders.wait_until_bank_loader_disappear(40)
示例#2
0
 def create_bki_report(self):
     good_result = '//span[text()[contains(.,"Просрочек не обнаружено")]]'
     self.click_on_elem(self.create_bki_report_btn)
     loaders = Loaders(self.browser)
     loaders.wait_until_bank_loader_disappear(70)
     self.find_element_by_locator(good_result)