[ 
http://jira.openqa.org/browse/WTR-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19644#action_19644
 ] 

Jari Bakken commented on WTR-438:
---------------------------------

Here's the list from Celerity - it should match Watir's unless we made any 
mistakes in creating it 

$ jruby -I lib -r celerity -e 'ObjectSpace.each_object(Class) { |klass| p 
[klass, klass::DEFAULT_HOW] if klass < Celerity::Element }'
[Celerity::Form, :name]
[Celerity::Meta, :id]
[Celerity::InputElement, nil]
[Celerity::SelectList, :name]
[Celerity::FileField, :name]
[Celerity::TextField, :name]
[Celerity::Button, :value]
[Celerity::RadioCheckCommon, :name]
[Celerity::Hidden, :name]
[Celerity::Radio, :name]
[Celerity::CheckBox, :name]
[Celerity::TableElement, :id]
[Celerity::TableHeader, :id]
[Celerity::TableFooter, :id]
[Celerity::TableBody, :id]
[Celerity::Table, :id]
[Celerity::NonControlElement, :id]
[Celerity::P, :id]
[Celerity::Ol, :id]
[Celerity::Map, :id]
[Celerity::Li, :id]
[Celerity::Ul, :id]
[Celerity::Div, :id]
[Celerity::Strong, :id]
[Celerity::Dl, :id]
[Celerity::Span, :id]
[Celerity::Area, :id]
[Celerity::Pre, :id]
[Celerity::Dd, :id]
[Celerity::H1, :id]
[Celerity::H2, :id]
[Celerity::Dt, :id]
[Celerity::Em, :id]
[Celerity::H5, :id]
[Celerity::H6, :id]
[Celerity::H3, :id]
[Celerity::H4, :id]
[Celerity::Option, :text]
[Celerity::TableRow, :id]
[Celerity::TableCell, :id]
[Celerity::Th, :id]
[Celerity::Link, :href]
[Celerity::Label, :text]
[Celerity::Image, :src]
[Celerity::Frame, :name]



> Deprecate single argument api
> -----------------------------
>
>                 Key: WTR-438
>                 URL: http://jira.openqa.org/browse/WTR-438
>             Project: Watir
>          Issue Type: New Feature
>          Components: HTML Controls
>    Affects Versions: 1.6.5
>         Environment: windows
>            Reporter: Bret Pettichord
>
> Currently there are several cases where things like browser.button("OK") 
> work. In this case it is interpreted as browser.button(:value, "OK"). The 
> proposal is deprecate this API, which is already little known and not 
> documented much. In other words, we would discourage this API in our docs and 
> issue warnings when people used it. However, it would still work, at least 
> for IE.
> Some day we might also decide to remove support entirely (in the interests of 
> simplicity and compatibility), but first we would need to deprecate it.
> This issue came up in the discussion of 
> http://jira.openqa.org/browse/WTR-436
> If there is interest in this, next step would be to come up with a 
> comprehensive list, which I can do.

-- 
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

Reply via email to