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

[🐛 Bug]: JavaScript issue with Selenium web site (https://www.selenium.dev), throwing JavaScript type error #1737

Closed
sbabcoc opened this issue May 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sbabcoc
Copy link
Contributor

sbabcoc commented May 24, 2024

What happened?

I'm using HtmlUnitDriver for testing, and the JavaScript engine used by HtmlUnit is throwing a TypeError loading the pages from the Selenium web site (https://www.selenium.dev). The error is:

TypeError: redeclaration of const n. (https://www.selenium.dev/js/main.min.0a56205ed1c75268f017591e5418fdb944578a279fe7c7abe3981ebed191c341.js#5)

I can work around this issue by disabling the resulting exception in HtmlUnitDriver, but it would be good to clean this up.

What browsers and operating systems are you seeing the problem on?

HtmlUnitDriver loading https://www.selenium.dev

@sbabcoc sbabcoc added bug Something isn't working needs-triaging labels May 24, 2024
Copy link
Contributor

@sbabcoc, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@sbabcoc sbabcoc changed the title [🐛 Bug]: JavaScript issue with Selenium web site (https://www.selenium.dev) has JavaScript type error [🐛 Bug]: JavaScript issue with Selenium web site (https://www.selenium.dev), throwing JavaScript type error May 24, 2024
@diemol
Copy link
Member

diemol commented May 24, 2024

I do not see that error when using the browser, how can I reproduce it manually?

@sbabcoc
Copy link
Contributor Author

sbabcoc commented May 27, 2024

Hmmm... Looking closer, this seems more likely to be a Rhino issue. I'll close this Selenium issue and open a new one for Rhino.

@sbabcoc sbabcoc closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants