Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser instance reuse and resource management #2

Open
berntpopp opened this issue Dec 10, 2023 · 0 comments
Open

Browser instance reuse and resource management #2

berntpopp opened this issue Dec 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@berntpopp
Copy link
Owner

Each URL currently launches a new browser instance. This can be time-consuming, especially with deep recursion or a large number of pages. Use the same browser instance for all pages if possible. This may necessitate reorganizing how browser and page instances are managed.
Ensure that resources are released properly. Close the page after taking a screenshot, but keep the browser open if you are going to reuse it.

@berntpopp berntpopp added the enhancement New feature or request label Dec 10, 2023
@berntpopp berntpopp self-assigned this Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant