Skip to content

Instantly share code, notes, and snippets.

@bryanmikaelian
Created January 18, 2011 17:23
Show Gist options
  • Save bryanmikaelian/784785 to your computer and use it in GitHub Desktop.
Save bryanmikaelian/784785 to your computer and use it in GitHub Desktop.
Short snippet on how to verify CSS styling on an element.
selenium.VerifyElementPresent("css=..."); // Specify your CSS selector here. If you are looking for a particular CSS style, the element would be present because it would have the CSS style.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment