Right-click, Actions

已查看 265 次
跳至第一个未读帖子

Johanan

未读,
2011年7月8日 02:05:262011/7/8
收件人 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

未读,
2011年7月8日 10:13:232011/7/8
收件人 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

未读,
2011年7月11日 01:09:312011/7/11
收件人 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

未读,
2011年7月11日 05:58:002011/7/11
收件人 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

未读,
2011年7月11日 06:36:152011/7/11
收件人 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

未读,
2011年7月11日 09:20:552011/7/11
收件人 Selenium Users
Java shall do, thanks!
回复全部
回复作者
转发
0 个新帖子