There are many instances when you click on a link and it opens a new window or tab. Selenim WebDriver provides a way to switch to that new window using SwitchTo() method. See the code below [crayon-5637ea71ce3c9619183208/] I hope this little code snippet will help you in your future automation
The post Selenium WebDriver in C#: Switch To new window or tab appeared first on BinaryClips.