Get Details of Browser Tab

Returns the current URL, title, selection, HTML document, and text contents of the passed-in tab.
Returns
The detailed browser tab reference.
Parameters
Tab type
Either "active tab of frontmost window" or "specific tab".
Browser
Lets you select from the list of supported browsers. Accepts a browser reference as input. Only available when the tab type is "active tab".
Target tab
A browser tab reference. Only available when the tab type is "specific tab".