Selenium Cucumber ruby code for element count -
good day all, can please me number of transaction on banking page using selenium webdriver - cucumber - ruby. please me . thanks.
we might need more information in order give accurate answer. here's code give idea:
when (/^i transaction number/) selector = "your_selector_goes_here" $transaction = page.find(:xpath, selector).text end
later access text stored in $transaction
, whatever need it.
Comments
Post a Comment