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

feat: add webdriver bidi support #206

Merged
merged 2 commits into from
Jan 4, 2024
Merged

feat: add webdriver bidi support #206

merged 2 commits into from
Jan 4, 2024

Conversation

jlipps
Copy link
Member

@jlipps jlipps commented Nov 10, 2023

lib/driver.js Outdated Show resolved Hide resolved
lib/driver.js Outdated Show resolved Hide resolved
lib/driver.js Outdated Show resolved Hide resolved
@jlipps jlipps force-pushed the jlipps/bidi branch 3 times, most recently from 2d31a86 to 9734589 Compare November 14, 2023 23:02
@jlipps jlipps marked this pull request as ready for review January 3, 2024 22:25
}

getSessionCaps() {
return Object.keys(this.opts).reduce((acc, capName) => {
if (STANDARD_CAPS_LOWER.has(capName) || capName.startsWith(CHROME_VENDOR_PREFIX) || capName.startsWith(EDGE_VENDOR_PREFIX)) {
if (STANDARD_CAPS_LOWER.has(capName.toLowerCase()) || capName.startsWith(CHROME_VENDOR_PREFIX) || capName.startsWith(EDGE_VENDOR_PREFIX)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cap names are case sensitive, aren't they?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mm, I needed this to fix an issue where caps were not properly forwarded to chromedriver.

@jlipps jlipps merged commit a1126a3 into main Jan 4, 2024
25 checks passed
@jlipps jlipps deleted the jlipps/bidi branch January 4, 2024 18:43
Copy link

github-actions bot commented Jan 4, 2024

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants