Skip to content

Instantly share code, notes, and snippets.

@seanbuscay
Created June 10, 2013 00:20
Show Gist options
  • Save seanbuscay/5745837 to your computer and use it in GitHub Desktop.
Save seanbuscay/5745837 to your computer and use it in GitHub Desktop.
Selenium find font weight.
Command: assertEval
Target: var x = window.document.querySelector('body.home.es ul'); window.getComputedStyle(x,null).getPropertyValue('font-weight');
Value: 700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment