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

[java][cdp] Ensure console events return args as it is #11435

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

pujagani
Copy link
Contributor

Fixes #11377

Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.

Description

Ensure console events return args as it is.
Selenium was modifying the args and returning them to the user. That resulted in wrong values, the PR fixes that.

Motivation and Context

See #11377.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov-commenter
Copy link

Codecov Report

Base: 52.83% // Head: 54.54% // Increases project coverage by +1.70% 🎉

Coverage data is based on head (a5080ce) compared to base (3832787).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##            trunk   #11435      +/-   ##
==========================================
+ Coverage   52.83%   54.54%   +1.70%     
==========================================
  Files          82       85       +3     
  Lines        5551     5627      +76     
  Branches      198      243      +45     
==========================================
+ Hits         2933     3069     +136     
+ Misses       2420     2315     -105     
- Partials      198      243      +45     
Impacted Files Coverage Δ
...selenium/webdriver/common/virtual_authenticator.py 75.00% <0.00%> (-4.04%) ⬇️
py/selenium/webdriver/support/wait.py 70.58% <0.00%> (-1.97%) ⬇️
py/selenium/webdriver/remote/webelement.py 36.15% <0.00%> (-0.16%) ⬇️
py/selenium/common/exceptions.py 100.00% <0.00%> (ø)
py/selenium/webdriver/common/by.py 100.00% <0.00%> (ø)
py/selenium/webdriver/common/log.py 23.88% <0.00%> (ø)
py/selenium/webdriver/ie/service.py 100.00% <0.00%> (ø)
py/selenium/webdriver/common/keys.py 100.00% <0.00%> (ø)
py/selenium/webdriver/common/alert.py 23.07% <0.00%> (ø)
py/selenium/webdriver/common/proxy.py 17.17% <0.00%> (ø)
... and 47 more

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sonarcloud
Copy link

sonarcloud bot commented Dec 16, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
27.0% 27.0% Duplication

@pujagani pujagani merged commit 431f775 into SeleniumHQ:trunk Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants