-
Notifications
You must be signed in to change notification settings - Fork 0
double_click
roei sabag edited this page Jul 12, 2020
·
1 revision
Double clicks the mouse at the last known mouse coordinates or on the specified element. If the click causes a new page to load, the OpenQA.Selenium.IWebElement.Click method will attempt to block until the page has loaded.
Web, Mobile Web, Mobile Native or any other Web Driver implementation which implements Double Click.
| Property | Description |
|---|---|
| argument | Plugin conditions and additional information. |
| onElement | The locator value by which the element will be found. |
| locator | The locator type by which the element will be found. |
None
https://www.w3.org/TR/webdriver/#actions
Can be tested on
Double clicks the mouse on the specified element.
{
"action": "DoubleClick",
"onElement": "click_button",
"locator": "Id"
}double click on {click_button} using {id}
// option no.1
var actionRule = new ActionRule
{
Action = PluginsList.DoubleClick,
OnElement = "click_button",
Locator = LocatorsList.Id
};
// option no.2
var actionRule = new
{
Action = "DoubleClick",
OnElement = "click_button",
Locator = "Id"
};action_rule = {
"action": "DoubleClick",
"onElement": "click_button",
"locator": "Id"
}var actionRule = {
action: "DoubleClick",
onElement: "click_button",
locator: "Id"
};ActionRule actionRule = new ActionRule()
.setAction("DoubleClick")
.setOnElement("click_button")
.setLocator("Id");Can be tested on
Double clicks the mouse at the last known mouse coordinates.
{
"action": "DoubleClick"
}double click
// option no.1
var actionRule = new ActionRule
{
Action = PluginsList.DoubleClick
};
// option no.2
var actionRule = new
{
Action = "DoubleClick"
};action_rule = {
"action": "DoubleClick"
}var actionRule = {
action: "DoubleClick"
};ActionRule actionRule = new ActionRule().setAction("DoubleClick");