Using console or power-shell command, I do get Edge with the correct URL. Ask your developers on how the application is opening such URL, it may be relevant or to at least try it out manually using the same command.
Use windows task manager to make sure Edge is not running, process close is different from terminate (with Edge you need to terminate processes).
I made the following test loop and it works successfully every-time. If it fails for you I hope you can find something new to follow upon.
Notice the page wait, something you should use rather than the 5 seconds wait.
function Test1()
{
// Loop 10 times or as many as you need
var Var1, TimeoutValue;
Var1 = 1;
for(Var1 = 1; Var1 <= 10; Var1 = Var1 + 1)
{
CloseProcess(); // Terminate browser processes
//Run browser, navigate to URL
Browsers.Item(btEdge).Run();
Browsers.Item(btEdge).Navigate("https://www.sestech.com/Home/Contact");
// Read deafult timeout, change it to one minute, wait for page, and restore timeout value
TimeoutValue = Options.Run.Timeout;
Options.Run.Timeout = 60000;
Aliases.browser.pageX.Wait();
Options.Run.Timeout = TimeoutValue;
// Validate page URL
if(Aliases.browser.pageX.URL == "https://www.sestech.com/Home/Contact")
Log.Message(Aliases.browser.pageX.URL, "");
else
{
Log.Error(Aliases.browser.pageX.URL, "");
Runner.Stop();
}
Aliases.browser.pageX.Close(); // Close browser
}
}
What do you have in the NameMapping for the browser and the page? I have * for the page URL as in any page, but works the same if you have the correct URL.