Yes, one possible way to do this is to use the ExecLine method that would return additional information on the browser page. Enclosed is an example showing how this is possible.
[-] testcase testEL () appstate none [ ] Browser.SetActive () [ ] print ("Number of Images: ", BrowserPage.ExecLine ("document.images.length")) [ ] print ("Number of Links: ",BrowserPage.ExecLine ("document.links.length")) [ ] print ("Number of Forms: ",BrowserPage.ExecLine ("document.forms.length"))
The above code returns:
[-] Testcase testEL - Passed [ ] Number of Images: 56 [ ] Number of Links: 256 [ ] Number of Forms: 4