Skip to main content

Module browser_same_site

Module browser_same_site 

Source
Expand description

Browser open on a site the agent already has a pane on: the answer says so (the ids), so the agent can use that pane (navigate) instead of opening a second one. Nothing is refused: a second pane is sometimes what is wanted (another profile, a side-by-side look), so this only tells.

Functionsยง

owned_on_site ๐Ÿ”’
The ids of the browser panes agent owns that are on urlโ€™s site now.
same_site ๐Ÿ”’
The panes in panes (id and the address the pane was opened or last moved to) whose site is urlโ€™s: the same scheme, host and port. Empty for an address that is not http(s).