When running a test case locally on your machine using Chrome browser and notice that Switch_Window command is not switching the index correctly which may cause your next steps to fail, follow these steps:
- Run a test case locally to open the automation browser and navigate to any website. You can pause the test afterwards and open a new tab
- If you see "Managed by your organization" footer in the bottom, click Customize Chrome
- Scroll to option Show footer on new tab page
- Disable the option and run your test case again to verify that switching now works correctly. You can also clear cache on the automation browser if the above alone is not enough.
Comments
Please sign in to leave a comment.