Q. How do I get text from a browser?

A. Use a regex match on the .text method …
Example html:

<p>
  The Employee Code assigned is 10000671
</p>

Example watir:

puts /(1\d+)/.match(@b.text)
Social tagging: >

Comments are closed.