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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -