Skip to content

Commit

Permalink
Update tools/wptrunner/wptrunner/executors/executoratspi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alice authored Jul 18, 2024
1 parent b5c17b6 commit b73654b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/wptrunner/wptrunner/executors/executoratspi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@

def poll_for_active_tab(root, logger, product):
active_tab = find_active_tab(root, product)
iterations = 0
while not active_tab:
time.sleep(0.01)
active_tab = find_active_tab(root, product)
iterations += 1

logger.debug(f"Found ATSPI active tab in {iterations} iterations")
return active_tab


Expand Down

0 comments on commit b73654b

Please sign in to comment.