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

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -