-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[🐛 Bug]: Incompatibilities between Selenium 4.12 and lodash (and underscore-js/angular) #12812
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
Comments
The original reporter has stated it works for him on 4.11.0 and fails on 4.12.0. (https://groups.google.com/g/selenium-users/c/KY0hJ8U-Iu4/m/jfwE7kY9AgAJ) |
@ShaheedHaque, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
This is a duplicate of #12659 and has been fixed in upcoming release |
Is there a workaround until the new version is released ? |
4.13 has already been released. Closing this. |
EDIT : mistake on pipenv _ is overriden at some point, and therefor I endup with Selenium version 4.13.0 |
Then please provide a full code sample we can use to reproduce this and then reopen. |
I am sorry this was a mistake on my side (pipenv mixup...), it is indeed fixed in 4.13.0, sorry about that |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
This relates to https://groups.google.com/g/selenium-users/c/KY0hJ8U-Iu4/m/uG5DyA6XAQAJ. The original issue was reported by another user with regard to underscore-js/angular, but I am specifically having what seems to be the same issue with lodash, and this report reflects that.
execute_script()
to find a date element by id, and then set it value.execute_script()
to set a textarea to some string.Although we do use lodash and thus "_", I note that these two
execute_script()
invocations do not reference lodash directly. However, lodash is probably being invoked via the .change().Taken together with the original report, it seems that 4.12 (or maybe 4.11) introduced some issue related to the use of an underscore. I checked the release notes but could not see any obvious smoking gun.
How can we reproduce the issue?
given that the HTML contains something like
Operating System
macOS and Ubuntu
Selenium version
Python 4.12.0
What are the browser(s) and version(s) where you see this issue?
Chrome 117
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver 117
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: