Skip to content

Instantly share code, notes, and snippets.

@bryanmikaelian
Created January 18, 2011 21:27
Show Gist options
  • Save bryanmikaelian/785185 to your computer and use it in GitHub Desktop.
Save bryanmikaelian/785185 to your computer and use it in GitHub Desktop.
This will get all elements based on a given CSS selector. You can use this to with the WaitForCondition, etc.
selenium.browserbot.document.querySelector('foo.bar')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment