L
L
LordGod2021-12-14 21:18:03
Python
LordGod, 2021-12-14 21:18:03

How to implement maximum execution of selenium script?

Hello. I have a task to automate actions in the browser.
You need to log in to the site under different accounts in a lot of threads and perform certain actions. I decided to implement this task on selenium, but loading the browser and pages takes too much time.
How can you speed up the script as much as possible?
Can you recommend any advanced selenium courses? Books or video lessons?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2021-12-14
@fox_12

Use Selenium Grid as an option. In my case, the selenium node instances are wrapped in containers - I just ran them on all available hardware, which resulted in the parallelization of tasks across several dozen browsers and a multiple increase in the speed of the script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question