-
- Notifications
You must be signed in to change notification settings - Fork 8.6k
[build] build selenium manager for tests #16736
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 Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label | |||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
| ||||||||||||
diemol left a comment
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.
I think this makes sense.
7049c70 to 71288f5 Compare
Note: This code includes #16743 for it to work
User description
💥 What does this PR do?
This code fixed constant build churn by always downloading latest manager: #13314
But this doesn't work when you change selenium manager code locally.
Conditional is now
@bonigarcia / @diemol does this look right to you?
PR Type
Enhancement
Description
Conditionally build or download Selenium Manager based on build flags
Download when using pinned browsers or stamped builds
Build locally when developing Selenium Manager code
Reduces build churn while supporting local development
Diagram Walkthrough
flowchart LR A["Build Configuration"] --> B{Check Conditions} B -->|use_pinned_browser| C["Download Manager"] B -->|stamp| C B -->|else| D["Build Manager Locally"] C --> E["Selenium Manager Binary"] D --> EFile Walkthrough
BUILD.bazel
Add conditional build vs download logic for Selenium Managercommon/manager/BUILD.bazel
select()statements
use_pinned_browserorstampflags are set//rust:selenium-manager-*targetsotherwise
aliases