littlebear
28 days agoContributor
TextNode() method for Page object
Hello everyone,
I have two duplicate tabs open in one Chrome browser window. That means they are both recognized as the same page object, and that children of that object can be found on either tab, depending on which one is in focus.
When I was working out a test, I noticed that I have access to the following Page methods (? They are marked with yellow lightning bolts) - TextNode(0) and TextNode(1)
Could anyone point me to documentation regarding these TextNode() methods?
They are Object names. If you want to access a specific page of a tab, then you have to use BrowserWindow object. For example .BrowserWindow(1) for the second tab.