experimental web browser for humans and machines
curl -fsSL https://shellsurf.com/install.sh | sh
shellsurf open the browser
shellsurf [url] open at a url
shellsurf new <url> open a new tab
shellsurf tabs list open tabs
shellsurf close [id] close a tab
shellsurf back go back
shellsurf forward go forward
shellsurf reload reload the page
shellsurf status show browser status
shellsurf quit quit the browser
shellsurf help print help
shellsurf version print version
shellsurf --headless [url] open in headless mode
shellsurf --json <command> output as json
shellsurf navigate <url> go to a url
shellsurf url print the current url
shellsurf title print the page title
shellsurf page --format text|html|markdown get page content
shellsurf dom --selector <css> print a dom subtree
shellsurf links list all links
shellsurf forms list all forms
shellsurf click --text "Sign in" click by text
shellsurf click --selector <css> click by selector
shellsurf click --xy 100 200 click by coordinates
shellsurf type "hello" --selector <css> type into an element
shellsurf type "hello" --focused type into focused element
shellsurf key "Ctrl+A" send a key combo
shellsurf select <value> --selector <css> select a dropdown option
shellsurf hover --selector <css> hover an element
shellsurf focus --selector <css> focus an element
shellsurf scroll down scroll down
shellsurf scroll --to top|bottom scroll to top or bottom
shellsurf wait --text "loaded" wait for text
shellsurf wait --selector <css> wait for element
shellsurf wait --loaded wait for page load
shellsurf screenshot capture a screenshot
shellsurf screenshot --full-page capture full page
shellsurf screenshot --selector <css> capture an element
shellsurf eval "document.title" run javascript
shellsurf console print console output
shellsurf network print network requests
shellsurf cookies --domain <domain> print cookies