Created
September 27, 2018 06:17
-
-
Save cawoodm/2f295ac6115ae1a7661e98d445110bdc 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
store xpath count | //a[@title='Remove from shopping cart'] | count | |
if | ${count} > 0 | |
echo | Found ${count} buttons! | |
click | //a[@title='Remove from shopping cart'] | |
else | | |
echo | Found no buttons | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment