A
A
Alex_8882020-07-14 08:12:23
Python
Alex_888, 2020-07-14 08:12:23

Simultaneous work of several sessions in selenium?

The ability to open several windows with different sessions seems to be not a problem (10 sessions - 10 windows), but is it possible to work simultaneously in these windows further? That is, in each, further work was performed according to the script, after the last session was launched?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2020-07-14
@Zarom

Have you tried?
Use selenoid for multi-session tasks. https://aerokube.com/selenoid/

H
Holopsicon, 2020-07-20
@Holopsicon

You can open two drivers and access them as needed

browser_main = webdriver.Chrome()
browser_main.get('https://google.com')

browser_branch = webdriver.Chrome()
browser_branch.get('https://google.com')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question