When i use Swtich to window index or url or title, it throws below error…What could be the problem and how to handle this. When i click on button (highlighted with red) another child window appears where in I need to search and then switch back to my parent window. Instead when i switch to child window it throws below error and window gets closed.
Error is as follows:
Unable to switch to window with title: ‘Search ~ Salesforce - Unlimited Edition’ (Root cause: org.openqa.selenium.NoSuchWindowException: no such window