I
I
Ivan_00072018-11-25 16:20:01
Python
Ivan_0007, 2018-11-25 16:20:01

How to set a new connection after a failed connection in selenium?

1
vote against
Favorites
There is the following code:

try:
    FireFoxBrowsr.get(str(regions_array) + str(categories_list[a][0]) ) 
except Exception:

I need something that, if an error occurs when connecting, the script tries to establish a new connection until it succeeds. Internet searches turned up nothing

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-11-25
@dimonchik2013

while
...
break

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question