Request Method: GET
Status Code: 302 Found
Response Headers:
Location: https://www.my_sut.com/target
It means when I click on the link, then /target page should be opened. And it works.
But geckodriver doesn't wait until /target page loads. By the way, chromedriver does wait.
Using simple code:
var driver = new FirefoxDriver();
driver.Url = "https://my_sut.com";
driver.FindElement(By.Tag("a")).Click();
Console.WriteLine(driver.Url); // shows https://my_sut.com, not https://www.my_sut.com/target
System
My element is
where
/redirect
is a resourceIt means when I click on the link, then
/target
page should be opened. And it works.But geckodriver doesn't wait until
/target
page loads. By the way, chromedriver does wait.Using simple code: