只知道点击,不知道右击作者: dvsam 时间: 2011-7-27 14:11
mouseUpRight(locator)
Arguments:
locator - an element locator
Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) on the specified element.作者: csj 时间: 2011-8-4 16:17 回复 3#dvsam
大哥,这个方法是用来松开鼠标右击的吧作者: wwyfriend 时间: 2011-11-11 10:29
selenium.contextMenu(locator)作者: 遇上鱼子 时间: 2011-11-21 16:25
mouseDownRight
public void mouseDownRight(java.lang.String locator)
Description copied from interface: Selenium
Simulates a user pressing the right mouse button (without releasing it yet) on the specified element.
Specified by:
mouseDownRight in interface Selenium
Parameters:
locator - an element locator
然后
mouseUpRight
public void mouseUpRight(java.lang.String locator)
Description copied from interface: Selenium
Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) on the specified element.
Specified by:
mouseUpRight in interface Selenium
Parameters:
locator - an element locator