vbushel
12 years agoOccasional Contributor
Wildcard URL doesn't work in Firefox.
Please, review part of code. I have to note from the beginning, that this code works fine with Google Chrome and IE and fails on Firefox 17 or 18.0.1. As well, it works with Firefox 15.
function Test1()
{
Browsers.Item("firefox").Run("http://teamcity:81/login.html");
browser = Sys.Browser();
page = browser.Page("*");
.......
}
As you can see, I use wildcard (*) to map current page.
However, it behaves wierd. During debugging, I set break point after the last statement and I can see that the object has the following property:
Sys.Browser("firefox").Page("chrome://crossriderapp11259/content/background.html")
Expected:
Sys.Browser("firefox").Page("http://teamcity:81/login.html").
May somebody explane me this?
function Test1()
{
Browsers.Item("firefox").Run("http://teamcity:81/login.html");
browser = Sys.Browser();
page = browser.Page("*");
.......
}
As you can see, I use wildcard (*) to map current page.
However, it behaves wierd. During debugging, I set break point after the last statement and I can see that the object has the following property:
Sys.Browser("firefox").Page("chrome://crossriderapp11259/content/background.html")
Expected:
Sys.Browser("firefox").Page("http://teamcity:81/login.html").
May somebody explane me this?