The following code, works fine in Chrome and Edge,
function MenuLinks()
{
var browser = Sys.Browser("edge");
var page = browser.Page("https://www.w3schools.com/java/*");
// Java Introduction
page.Panel("sidenav").Panel("leftmenuinner").Panel("leftmenuinnerinner").Link(1).Click();
aqObject.CheckProperty(page.Panel("belowtopnav").Panel(0).Panel("main").TextNode(0), "contentText", cmpEqual, "Java\nIntroduction");
// Java Getting Started
page.Panel("sidenav").Panel("leftmenuinner").Panel("leftmenuinnerinner").Link(2).Click();
aqObject.CheckProperty(page.Panel("belowtopnav").Panel(0).Panel("main").TextNode(0), "contentText", cmpEqual, "Java\nGetting Started");
// Java Syntax
page.Panel("sidenav").Panel("leftmenuinner").Panel("leftmenuinnerinner").Link(3).Click();
aqObject.CheckProperty(page.Panel("belowtopnav").Panel(0).Panel("main").TextNode(0), "contentText", cmpEqual, "Java\nSyntax");
// Java Output / Print
page.Panel("sidenav").Panel("leftmenuinner").Panel("leftmenuinnerinner").Link(4).Click();
page.Panel("sidenav").Panel("leftmenuinner").Panel("leftmenuinnerinner").Panel(0).Link(0).Click();
aqObject.CheckProperty(page.Panel("belowtopnav").Panel(0).Panel("main").TextNode(0), "contentText", cmpEqual, "Java\nOutput / Print");
}
As we can't see your code, it's difficult to help and diagnose your issue.