Trying to automate a scenario, but encountering an issue where execution stops after step 3.
- Entering username/password on login page
- Clicking submit button opens a pop-up window, entering data in input box on pop-up window and clicking the OK button
- Pop-up closes and a new page is displayed.
- Verifying elements on the newly displayed page.
Encountering issues with locating items even after trying various methods like getting browser handle, using wait until, and getting browser URL.
After closing the pop-up window, no further steps are executed, leading to execution stopping and eventually showing an error in the console:
JavaScript heap out of memory.
Additional details: Node version - 12 Webdriver 6.4.0 Browser - Chrome 100.04896
EDIT: After debugging, found an exception stating "Session closed/target window is already closed." Unsure of the reason for this exception being thrown.