-
Notifications
You must be signed in to change notification settings - Fork 44.4k
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
feat: Add support for running Chrome in Headless mode. #1473
feat: Add support for running Chrome in Headless mode. #1473
Conversation
Add headless mode support for Chrome and refactor web page text extraction
To prevent the "DevToolsActivePort file doesn't exist" error, you may also want to add this option in web.py: |
@ickma There are conflicts now |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
b268c2d
to
d6b1aa6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work on both Windows and Linux
…ess-chrome-mode Add support for running Chrome in Headless mode.
Add headless mode support for Chrome
Background
To enable Chrome headless support and make it runnable on the server. Currently, our Selenium script has no headless mode, which is causing issues on server
Changes
headless_browser
that can be set in the environment configuration file.headless_browser
is set to true, this updates Selenium to launch the browser in headless mode with the appropriate options.Documentation
Test Plan
PR Quality Checklist