Navigate method is opening new Chrome tab rather than switch to different URL
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2021
03:55 PM
07-14-2021
03:55 PM
Navigate method is opening new Chrome tab rather than switch to different URL
Installed TC v14.91 this morning and now all my Navigate calls to change the page URL to a different page are now loading a new Chrome tab and breaking the test.
This did not happen in all previous versions.
I've got a basic Specflow method that handles the page navigation.
Can someone please explain what has changed in TC v14.91 that causes Navigate to not work properly?
When("I navigate to webPage {arg}", function (menu){
temp = Project.Variables.Url+menu;
Browsers.CurrentBrowser.Navigate(temp);
CommonHelpers.ForceARefresh();
Log.Checkpoint("Navigated to page: "+menu)
});
Solved! Go to Solution.
Labels:
- Labels:
-
Chrome
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2021
07:56 AM
07-15-2021
07:56 AM
I suggest that you contact Support directly with this question. Here's the link:
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2021
02:36 PM
07-20-2021
02:36 PM
I've switch it to use .ToUrl() with usages of Sys.Browser("chrome") rather than Sys.Process("chrome") and we're OK now.
