I can open the main login page, and login, however attempting to run a find for an element is failing. Snippet of code in VB:
Public Shared Function WebTagExistsTelerik(ByVal id As String, Optional ByVal browserOrdinal As Integer = 0, Optional ByVal frameOrdinal As Integer = 0, Optional ByVal frameName As String = "", Optional ByVal loglevel As Integer = 3) As Boolean Dim mngr = ScriptLibrary.Globals._BrowserManager Dim myElement As Element = Nothing For Each Brow In mngr.Browsers 'Brow.WaitUntilReady() Brow.RefreshDomTree() Try Brow.Frames.RefreshAllDomTrees() Catch ex As Exception End Try Next If id.ToUpper.StartsWith("NAME:") Then myElement = mngr.Browsers(browserOrdinal).Frames(frameOrdinal).Find.ByName(id.Replace("NAME:", "")) Else myElement = mngr.Browsers(browserOrdinal).Frames(frameOrdinal).Find.ById(id) End If myElement comes back as nothing, as it appears that the DomTree is still our login page. After logging in the page is embedded in a frame.
The WaitUntilReady, RefreshDomTree and RefreshAllDomTrees commands seems to be timing out and not actually refreshing. This code is working in Firefox. Any suggestions?
If I pause the execution before reaching this point and get the outermarkup of frame(0) it doesn't contain the information I would be expecting. It seems to only contain script tags, not any of the HTML expected from the framesrc.