Forum Discussion

frank_vanderstr's avatar
frank_vanderstr
Contributor
10 years ago

Chrome Browser does not contain Page("*")

I have a sequence of Automation scripts written in javascript that uses the Chrome browser specifically. These scripts have been functional for months, although when I ran them today, I keep hitting an error where the browser does not even navigate to my test site as it should.

 

Testcomplte continues to look for Page("*") but it claims the chrome browser does not have it.

 

This is the exact error message TC gives me: The Browser("chrome") does not contain Page("*").

 
Here is the code I have to set up my browser and Page objects.
 
Browsers.Item(btChrome).Run();
  var browser = Sys.Browser("*");
  var Page1 = browser.Page("*");
 
I have also tried putting my site's URL right into the Run parameters, but then TestComplete tells me it is unable to navigate. Scripts set up in the exact same way also function in IE and Firefox.
 
I am just stumped as to why this issue is happening and why so suddenly without any updates on TC's or Chrome's end.
 
The chrome extension is also installed and enabled in Chrome.

2 Replies