Created
October 22, 2015 22:43
-
-
Save pololee/894682d6d83693d91219 to your computer and use it in GitHub Desktop.
check a specific CSS class on a node in selenium test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def disabled? | |
node[:class].include?('is-disabled')` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment