Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Enable parallel execution for Selenium #54

Open
Crissal1995 opened this issue Sep 15, 2023 · 1 comment
Open

Enable parallel execution for Selenium #54

Crissal1995 opened this issue Sep 15, 2023 · 1 comment
Labels
minor MINOR version when you add functionality in a backward compatible manner

Comments

@Crissal1995
Copy link
Owner

Crissal1995 commented Sep 15, 2023

Right now, the execution of Selenium is serial; given N profiles, the tool will run Selenium one by one.
Thus, the more profiles you have in your config, the longer the overall execution will be.

Instead, it looks like enabling Selenium in parallel is possible, as long as N instances of selenium.Chrome() are created for N profiles.

Some refs:

@Crissal1995 Crissal1995 added the minor MINOR version when you add functionality in a backward compatible manner label Sep 15, 2023
@Crissal1995
Copy link
Owner Author

Nice library to check: SeleniumBase. It also handles chromedriver downloads automatically

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
minor MINOR version when you add functionality in a backward compatible manner
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant