-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Adding my version of a multibrowser node #2822
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
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Description
This is how we go about building images with more than one browser.
Essentially it is just a combination of the different dockerfiles for the separate nodes.
I don't know much about how the tests is setup here, and could also not find a good place for documenting the new node-type. So I leave that to someone that is more involved in the "Selenium way" of doing stuff.
Motivation and Context
This PR is supposed to solve #2795 feature request. Basically this is one way of building a node, that holds more than one type of browser. The total size image is much smaller than building three separate browser nodes.
Types of changes
Checklist
PR Type
Enhancement
Description
Introduce multi-browser Selenium node Dockerfile
Add browser cleanup scripts and supervisor configs
Implement browser binary wrappers for Chrome and Edge
Provide utility scripts for Firefox installation and language packs
Changes walkthrough 📝
9 files
Add Dockerfile for multi-browser Selenium node image
Add Chrome process and temp file cleanup script
Add Edge process and temp file cleanup script
Add Firefox process cleanup script
Add script to download Firefox language packs
Add script to set up Firefox APT repository
Add script for Firefox package installation logic
Add Chrome binary wrapper for argument handling
Add Edge binary wrapper for argument handling
3 files
Add supervisor config for Chrome cleanup daemon
Add supervisor config for Edge cleanup daemon
Add supervisor config for Firefox cleanup daemon
1 files
Duplicate Chrome binary wrapper script (possible artifact)