c# - How to Change URL in current Browser session while selenium Test is running -
i need change url while test running . example,
i'm on https://www.google.com.au when select first link navigated particular link . doing need update link url .
i tried below not working .
string myaccounturi = "my-account /#account-validation"; string z = (configurationmanager.appsettings["testenv"] + string.join(",", myaccounturi)); pagemanager.driver.navigate().gotourl(z);
above code working me. it's in myaccounturi white-space creating issue while trying navigateto url. below fixed .
string myaccounturi = "my-account/#account-validation";
Comments
Post a Comment