-
-
Save llaskin/ad4d9854f2d325905949 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
actions = [] | |
if a1.count == 1 | |
actions[0] = a1[0] | |
end | |
if a2.count == 1 | |
actions[1] = a2[0] | |
end | |
if a3.count == 1 | |
actions[2] = a3[0] | |
end | |
actions.each{|action| puts action.text } | |
When I puts action.text | |
09:55:39.328802 ERROR: ./scripts/test.rb failed to complete due to a Syntax Error: | |
undefined method `text' for #<Array:0x55d0a00> | |
(text is a function that can be called on WrappedWebElement types) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment