V
V
Vyacheslav2020-03-17 12:25:04
Python
Vyacheslav, 2020-03-17 12:25:04

How to track browser tab freeze in Selenium Chromedriver?

The tab freezes. I use WebDriverExceptionand NoSuchWindowException, but it doesn't help.
I open a tab with driver.get(url), then from it using javascript I open a second tab, switch to it. The page loaded into it is processed, but after that, in some cases, any activity stops.
Helps to press CTRL+C in the console , then the script goes further, that is, the second tab closes and the script switches to the first one.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question