Right-click, Actions

265 views
Skip to first unread message

Johanan

unread,
Jul 8, 2011, 2:05:26 AM7/8/11
to Selenium Users
Hello!
I need to simulate a right-click, I tried to do it through Actions,
but it seems like WebDriver perfome left-click instead.

The code is here:
(new Actions(WebDriver)).ContextClick(target).Perform();

The same problem with 'drag-and-drop': it seems to make two clicks.

Mark Collin

unread,
Jul 8, 2011, 10:13:23 AM7/8/11
to seleniu...@googlegroups.com
Have you tried the latest release (2.0.0)?

--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to
selenium-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/selenium-users?hl=en.


--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

If you have received this email in error please notify postm...@ardescosolutions.com

Johanan

unread,
Jul 11, 2011, 1:09:31 AM7/11/11
to Selenium Users


On 8 июл, 18:13, "Mark Collin" <m...@ardescosolutions.com> wrote:
> Have you tried the latest release (2.0.0)?
>
Yes, I did

Mark Collin

unread,
Jul 11, 2011, 5:58:00 AM7/11/11
to seleniu...@googlegroups.com, selenium-...@googlegroups.com
Sounds like one for the devs, bug perhaps?

https://groups.google.com/d/topic/selenium-users/BgYSbH_E7M4/discussion


-----Original Message-----
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of Johanan
Sent: 11 July 2011 06:10
To: Selenium Users

--

Jim Evans

unread,
Jul 11, 2011, 6:36:15 AM7/11/11
to seleniu...@googlegroups.com
Context-click (or "right-click") and double-click do not work yet with native events. There is an open issue in the tracker for double-click (http://code.google.com/p/selenium/issues/detail?id=1722), which should probably have context click mentioned in it.

Regards,
Jim Evans

Johanan

unread,
Jul 11, 2011, 9:20:55 AM7/11/11
to Selenium Users
Java shall do, thanks!
Reply all
Reply to author
Forward
0 new messages