Pages
A session can have more than one tab open — an OAuth popup, a target=_blank
link, or one you open deliberately. page switch decides which tab every
later command (click, fill, snapshot, …) targets; page list marks
the active one with * so you can always tell where the next command lands.
brow page list
Section titled “brow page list”brow page list -s <id>brow page list -s 1# 0 https://example.com# 1 * https://example.com/checkoutCheck this after anything that might have opened a tab you didn’t expect — the active tab may not be the one you think it is.
brow page new
Section titled “brow page new”Open a new tab. It becomes the active tab.
brow page new -s <id> [<url>]brow page new -s 1 "https://example.com/popup"# Page 1: https://example.com/popupbrow page switch
Section titled “brow page switch”Retarget every later command to a different tab, by index from page list.
brow page switch -s <id> <index>brow page switch -s 1 0# Switched to page 0: https://example.combrow page close
Section titled “brow page close”Close a tab. Omit <index> to close the active tab.
brow page close -s <id> [<index>]brow page close -s 1 1