I cannot submit a bug because I'm not a license holder, so I post here.
Steps:
1. Install Firefox 4
2. Install WebAii internal build 1607
3. Create file c:\1.html with the following contents:
<div id="div1"></div>
4. Run the following NUnit test fixture
Results:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException : ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: TypeError: document.getElementsByTagName("div")[0] is undefined
Works fine with other browsers.
Steps:
1. Install Firefox 4
2. Install WebAii internal build 1607
3. Create file c:\1.html with the following contents:
<div id="div1"></div>
4. Run the following NUnit test fixture
[TestFixture]public class Fixture1 { [Test] public void Test1() { var m = new Manager(false); m.Start(); m.LaunchNewBrowser(BrowserType.FireFox); var b = m.ActiveBrowser; b.NavigateTo("c:/1.html"); var value = b.Find.ById<HtmlControl>("div1").ScrollTop; }}Results:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException : ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: TypeError: document.getElementsByTagName("div")[0] is undefined
Works fine with other browsers.