Hai Guys. I am just trying to explore or learn Watir.
I have already try this one:
puts browser.text
and it works. I would like to ask if it is possible to display or print
only the specific element or html tags.
For example this one:
<button class="btn btn-add" data-role="add">Add New User</button>
Is there any way to get this element only? Not the whole Page source.
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.