You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mainframe_context may not work in all cases, in my case, the html page has js function which triggers a pop up div, and present() could not find the element, my investigation shows that mainframe_context is the cause of this problem.
If I use:
document.evaluate('//*[@Class="bosschat-chat-input chat-global-message boss-chat-editor-input"]',mainframe_context,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength
The mainframe_context may not work in all cases, in my case, the html page has js function which triggers a pop up div, and present() could not find the element, my investigation shows that mainframe_context is the cause of this problem.
If I use:
document.evaluate('//*[@Class="bosschat-chat-input chat-global-message boss-chat-editor-input"]',mainframe_context,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength
length is 0
document.evaluate('//*[@Class="bosschat-chat-input chat-global-message boss-chat-editor-input"]',document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength
length is 1
and mainframe_context is different than document
The text was updated successfully, but these errors were encountered: