Skip to content

[🐛 Bug]: Selenium v4.12.0+ causing page to crash #12766

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

Closed
niall-oboyle opened this issue Sep 18, 2023 · 4 comments
Closed

[🐛 Bug]: Selenium v4.12.0+ causing page to crash #12766

niall-oboyle opened this issue Sep 18, 2023 · 4 comments
Labels
A-needs-triaging A Selenium member will evaluate this soon! I-defect Something is not working as intended

Comments

@niall-oboyle
Copy link

What happened?

When attempting to complete an Adobe E-Sign process via Selenium automation on Workday, certain core Selenium calls (such as isDisplayed, click, among others) within the iframe cause the WD page to crash and all fields on the page become inaccessible - we had to downgrade our selenium version to v11 to resolve this issue.

errors.mp4

adobe.txt

How can we reproduce the issue?

Paste the HTML provided in the What Happened section into Google Chrome, and the affected page should be displayed - calling isDisplayed, click (or other core element calls) should cause the page to crash with errors in the console

Relevant log output

app-main.js:491 Uncaught TypeError: _.pick is not a function
    at m.constructor (app-main.js:491:10400)
    at new m (app-main.js:452:163422)
    at m.showSignaturePad (app-esign.js:82:470553)
    at C (app-main.js:452:118629)
    at m.<anonymous> (app-main.js:452:118849)
    at m.<anonymous> (app-main.js:452:111524)
    at b (app-main.js:452:133152)
    at Object.trigger (app-main.js:452:132416)
    at m.openSigPanel (component-viewfields.js:21:237877)
    at m.doSigningAction (component-viewfields.js:21:239511)
constructor @ app-main.js:491
m @ app-main.js:452
showSignaturePad @ app-esign.js:82
C @ app-main.js:452
(anonymous) @ app-main.js:452
(anonymous) @ app-main.js:452
b @ app-main.js:452
trigger @ app-main.js:452
openSigPanel @ component-viewfields.js:21
doSigningAction @ component-viewfields.js:21
onInputClick @ component-viewfields.js:21
C @ app-main.js:452
(anonymous) @ app-main.js:452
(anonymous) @ app-main.js:452
dispatch @ app-main.js:25
cb.handle @ app-main.js:25
eval @ VM461:3
executeScript @ VM460:369
apply.element-6066-11e4-a52e-4f735466cecf @ VM460:374
callFunction @ VM460:338
(anonymous) @ VM460:351
(anonymous) @ VM460:352

app-esign.js:48 Uncaught TypeError: _.values is not a function
    at m.getTodoCount (app-esign.js:48:46826)
    at m.isDone (app-esign.js:48:46905)
    at m.areTodosDone (app-esign.js:48:126573)
    at m.onInputFocus (app-esign.js:48:102355)
    at C (app-main.js:452:118629)
    at m.<anonymous> (app-main.js:452:118849)
    at m.<anonymous> (app-main.js:452:111524)
    at b (app-main.js:452:133211)
    at Object.trigger (app-main.js:452:132416)
    at m.setFocused (component-viewfields.js:21:182608)

Uncaught Error: Argument to isShown must be of type Element
    at Ic (eval at executeScript (esign:367:16), <anonymous>:94:352)
    at eval (eval at executeScript (esign:367:16), <anonymous>:102:797)
    at m.isAnySigned (app-esign.js:48:34759)
    at m.getSubmitData (app-esign.js:48:35802)
    at m.l [as getSubmitData] (app-main.js:452:163181)
    at e.show (component-viewfields.js:21:230872)
    at ez.eF [as _enter] (app-main.js:458:53267)
    at HTMLDivElement.<anonymous> (app-main.js:458:52183)
    at HTMLDivElement.handle (app-main.js:25:49785)
    at HTMLDivElement.dispatch (app-main.js:25:45085)

Operating System

MacOS Ventura 13.5.2 (occurring on remote servers too)

Selenium version

v4.12.0 and higher

What are the browser(s) and version(s) where you see this issue?

Chrome

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 116.0.5845.96

Are you using Selenium Grid?

No

@niall-oboyle niall-oboyle added I-defect Something is not working as intended A-needs-triaging A Selenium member will evaluate this soon! labels Sep 18, 2023
@github-actions
Copy link

@niall-oboyle, 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.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

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

Thank you!

@titusfortner
Copy link
Member

This was fixed in trunk and will be available as soon as we can get a new release out.

#12659

@niall-oboyle
Copy link
Author

niall-oboyle commented Sep 18, 2023

Thanks @titusfortner 👍

Copy link

github-actions bot commented Dec 5, 2023

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.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-needs-triaging A Selenium member will evaluate this soon! I-defect Something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants