In my application when sign-in, then it navigates to another page. Now I need to get that new URL using WebDriver in Selenium C#.
I can't find any function to do this. I have tried driver.Url
, driver.getLocation()
and driver.getCurrentUrl()
, but nothing is working in my C# application. So is it possible to get the current URL somehow? After it gets navigated?