Skip to content

Instantly share code, notes, and snippets.

@byrnedo
Created February 15, 2021 13:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save byrnedo/45012ca4e1ba2b5414df96aaaeabbf15 to your computer and use it in GitHub Desktop.
Save byrnedo/45012ca4e1ba2b5414df96aaaeabbf15 to your computer and use it in GitHub Desktop.
selenium standalone tricks
#!/bin/bash
# start a new session
curl --data '{"desiredCapabilities":{"browserName": "chrome"}}' --silent http://localhost:4444/wd/hub/session | jq -r .sessionId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment