[
http://jira.openqa.org/browse/WTR-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20360#action_20360
]
Jarmo Pertman commented on WTR-495:
-----------------------------------
This just needs better documentation, that's all, but what Watir does to
accomplish here is to have exactly the same element accessor methods to each
element so if there's an <img>, <div>, <h1> tags in html, then that means that
Watir::IE has img, div and h1 methods too.
I have to agree though that this makes it harder for newcomers to start using
Watir.
> RDoc does not provide information about elements accessor methods in
> Watir::COntainer due to they are meta-programmed
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: WTR-495
> URL: http://jira.openqa.org/browse/WTR-495
> Project: Watir
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 2.0
> Environment: watir 1 => 2 upgrade
> Reporter: Aliaksandr
>
> In watir RDoc http://rubydoc.info/gems/watir/2.0.0/Watir/Container, it is not
> obvious to find element accessor (factory) methods defined in
> Watir::Container module, as they are created with meta-programming e.g.
> bottom of https://github.com/bret/watir/blob/master/watir/lib/watir/table.rb.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development