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