looks like its Firefox only
http://github.com/bendyworks/watir/commit/bc024d859a270eeead9929a85c25f9e2328c96b5


Id like to see,

browser.link(:id, 'foo').click( :right_button )
or
browser.link(:id, 'foo').right_click

so then the unit test just needs a method on the html that responds to a
right click( I cant remember how to do that off hand otherwise I would have
given an example)
A right click method also brings up all sorrts of context menu questions (
ie does a right click bring the console menu up, or do some html specific
thing, and how is the context menu handled cross browser)

The event code I keep trying to do something with , probably handles the
right click, but ot the context menu stuff

Paul


On Mon, Nov 23, 2009 at 10:36 AM, Bret Pettichord <[email protected]>wrote:

> Any comments on this?
>
> ---------- Forwarded message ----------
> From: GitHub <[email protected]>
> Date: Mon, Nov 23, 2009 at 11:07 AM
> Subject: [GitHub] bendyworks sent you a message
> To: [email protected]
>
>
>
>
> bendyworks wants you to pull from bendyworks/watir at master
>
> Body: We added right_click and middle_click to element.rb in firewatir.
>  Testing this proved quite problematic without pulling in a framework like
> jQuery.  We are seeing the code work just fine in a customer project
> however.
>
> Since I'm assuming adding a dependence on jQuery is a no-no, this change is
> without a test.  Any suggestions?
>
> Thanks!
> -Steve-
>
> View repository: http://github.com/bendyworks/watir/tree/master
>
>
>
> --
> Bret Pettichord
> Lead Developer, Watir, www.watir.com
>
> Blog, www.io.com/~wazmo/blog <http://www.io.com/%7Ewazmo/blog>
> Twitter, www.twitter.com/bpettichord
>
>
> _______________________________________________
> Wtr-development mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-development
>
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to