-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
D-chromeG-chromedriverRequires fixes in ChromeDriverRequires fixes in ChromeDriverI-defectSomething is not working as intendedSomething is not working as intended
Description
What happened?
Steps:
- User is in page 1
- user stores the window handle : var parentHandle= driver.windowHandle();
- Perform some event on the page new window opens
- Get all window handles: var allHandles= driver.windowHandles;
- Switch to the new window driver.switchTo().window(allHandles[1]);
- Perform save/close on the new window(New window closed)
- Try to switch back to parent window driver.switchTo().window(parentHandle);
Expected: Driver focus should go to parent window.
Actual: Its opening a new blank window and throwing the exception "No such window"
How can we reproduce the issue?
Steps:
1. User is in page 1
2. user stores the window handle : var parentHandle= driver.windowHandle();
3. Perform some event on the page new window opens
4. Get all window handles: var allHandles= driver.windowHandles;
5. Switch to the new window driver.switchTo().window(allHandles[1]);
6. Perform save/close on the new window(New window closed)
7. Try to switch back to parent window driver.switchTo().window(parentHandle);
Expected: Driver focus should go to parent window.
Actual: Its opening a new blank window and throwing the exception "No such window"Relevant log output
Its opening a new blank window and throwing the exception "No such window"Operating System
win10
Selenium version
c#, selenium 4.23
What are the browser(s) and version(s) where you see this issue?
Chrome 133 and Edge 133
What are the browser driver(s) and version(s) where you see this issue?
Selenium manager
Are you using Selenium Grid?
No
radoslav-boyadzhiev-syncplicity
Metadata
Metadata
Assignees
Labels
D-chromeG-chromedriverRequires fixes in ChromeDriverRequires fixes in ChromeDriverI-defectSomething is not working as intendedSomething is not working as intended