I tried using HTMLInputText.IsActiveElement but it doesn't seem to work properly.
When running my test:
HtmlInputText queryBox = Find.ByName<HtmlInputText>(
I can see that focus is in the url address box and not the search input box. queryBox.IsActiveElement is true so it's incorrect.
I also noticed that ActiveBrowser.NavigateTo works differently than launching the page manually.
In the first case focus is in the url address box in the latter its in search box.
1. Why IsActiveElement wrong?
2. Why NavigatTo works differently than manually?