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

fix: start session should return caps that chromedriver returns #362

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

jlipps
Copy link
Member

@jlipps jlipps commented Nov 10, 2023

To support webdriver BiDi, we need to actually return caps that chromedriver returns, since it contains the webSocketUrl value which we may not be able to predict.

JSON.stringify(sessionCaps, null, 2)
JSON.stringify(sessionCaps, null, 2),
);
const {capabilities} = /** @type {NewSessionResponse} */ (
Copy link
Member Author

Choose a reason for hiding this comment

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

sorry, looks like there were some auto lint changes. this is the main change to review here.

@jlipps jlipps merged commit 499f65e into master Nov 10, 2023
@jlipps jlipps deleted the jlipps/return-caps branch November 10, 2023 15:41
github-actions bot pushed a commit that referenced this pull request Nov 10, 2023
## [5.6.24](v5.6.23...v5.6.24) (2023-11-10)

### Bug Fixes

* start session should return caps that chromedriver returns ([#362](#362)) ([499f65e](499f65e))
Copy link
Contributor

🎉 This PR is included in version 5.6.24 🎉

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