Created
December 21, 2015 09:23
-
-
Save iSarCasm/4553abdd8d4137e82c2b to your computer and use it in GitHub Desktop.
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 find_errors | |
err_node = @agent.page.at(".errors") | |
[] << if err_node | |
["#{err_node.attributes['id'].value}: #{err_node.children.text}"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment