Trying to write some test cases using selenium webdriver in c# and have a scenario which i\'m unsure of how to resolve
user scenario is searching a table for a patie
It is really easy in Selenium WebDriver. By using SwitchTo method
driver.SwitchTo().Window(driver.WindowHandles.Last());
See this blog post as well
http://binaryclips.com/2015/03/13/selenium-webdriver-in-c-switch-to-new-window/