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

Remove "shadow_root" assertion in Python bindings for Firefox #11821

Merged
merged 2 commits into from Mar 27, 2023

Conversation

whimboo
Copy link
Contributor

@whimboo whimboo commented Mar 27, 2023

The "Get Element ShadowRoot" command has been implemented in Firefox 96 (a year ago) and it should no longer cause an assertion.

@whimboo whimboo changed the title Remove "shadow_root" assertion for Firefox Remove "shadow_root" assertion in Python bindings for Firefox Mar 27, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2023

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.02 ⚠️

Comparison is base (4564880) 54.85% compared to head (55904e4) 54.83%.

❗ Current head 55904e4 differs from pull request most recent head 01c90b7. Consider uploading reports for the commit 01c90b7 to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##            trunk   #11821      +/-   ##
==========================================
- Coverage   54.85%   54.83%   -0.02%     
==========================================
  Files          85       85              
  Lines        5695     5693       -2     
  Branches      230      230              
==========================================
- Hits         3124     3122       -2     
  Misses       2341     2341              
  Partials      230      230              
Impacted Files Coverage Δ
py/selenium/webdriver/remote/webelement.py 35.59% <33.33%> (-0.72%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

The "Get Element ShadowRoot" command has been implemented
in Firefox 96 (a year ago) and it should no longer cause
an assertion.
@whimboo
Copy link
Contributor Author

whimboo commented Mar 27, 2023

This PR is ready for review. Thanks!

@whimboo
Copy link
Contributor Author

whimboo commented Mar 27, 2023

CC'ing @patrickangle and @gsnedders given that the same assertion still exists for Safari and as it looks like there might have been some ongoing work here on experimental.

Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Thank you, @whimboo!

@diemol diemol merged commit 1f8b0c5 into SeleniumHQ:trunk Mar 27, 2023
15 checks passed
@gsnedders
Copy link

CC'ing @patrickangle and @gsnedders given that the same assertion still exists for Safari and as it looks like there might have been some ongoing work here on experimental.

actually shipped in Safari 16.4 on Tuesday: https://wpt.fyi/results/webdriver/tests/get_element_shadow_root/get.py?run_id=5118756219518976&run_id=6320265787604992&run_id=6292883592708096

@whimboo whimboo deleted the firefox_shadow_root branch March 30, 2023 18:09
yashcho pushed a commit to yashcho/selenium that referenced this pull request Apr 7, 2023
…umHQ#11821)

Remove "shadow_root" assertion for Firefox.

The "Get Element ShadowRoot" command has been implemented
in Firefox 96 (a year ago) and it should no longer cause
an assertion.

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
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.

None yet

4 participants