Here is the scenario I am automating however execution stops after step 3
Issue: unable to locate any item, tried getting browser handle, wait until, tried getting browser.geturl.
Basically as soon as pop up window is closed, No step is executed. Execution will stop and after some time I see error in console
JavaScript heap out of memory.
Other details Node version - 12 Webdriver 6.4.0 Browser - chrome 100.04896
Did you tried to do something like this?
const window = browser.getWindowHandle();
browser.switchToWindow(window);
or
browser.switchToParentFrame()
or
browser.switchToFrame()