Skip to content

Commit

Permalink
Merge pull request totvs#532 from 98llm/develop
Browse files Browse the repository at this point in the history
verifica se há modal exibido apos clickBox
  • Loading branch information
renanllisboa authored Aug 12, 2021
2 parents c50fb60 + fd82b5b commit b107f9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tir/technologies/webapp_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -3450,6 +3450,9 @@ def performing_additional_click(self, element_bs4, tr, index, class_grid, grid_n
self.performing_click(element_bs4, class_grid)
self.wait_blocker()
time.sleep(2)
tmodal = self.element_exists(term=".tmodaldialog.twidget.active", scrap_type=enum.ScrapType.CSS_SELECTOR, main_container="body")
if tmodal:
return
grid = self.get_grid(grid_number=grid_number)
tr = grid.select('tbody > tr')
td = next(iter(tr[index].select('td')))
Expand Down

0 comments on commit b107f9c

Please sign in to comment.