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

PoA support for selenium 4 without desired capibilites #134

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

chinmay-browserstack
Copy link
Contributor

@chinmay-browserstack chinmay-browserstack commented Oct 14, 2024

  • Fix for PoA with selenium version > 4.9 throwing error because desired capabilities property is deprecated from selenium

try:
session_caps = dict(self.driver.desired_capabilities)
except Exception:
session_caps = {}
Copy link
Contributor

Choose a reason for hiding this comment

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

what all do we need from session caps ? if we are using nothing then why were we reading it in the first place ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually we don't need session caps so removing it. anyways in current flow also we have spelling mistake due to which session caps are passed but not used in cli

@chinmay-browserstack chinmay-browserstack merged commit a327386 into master Oct 15, 2024
7 checks passed
@chinmay-browserstack chinmay-browserstack deleted the poa_desired_capability_deprecation branch October 15, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants