MCPcopy Create free account
hub / github.com/angular/components / rightClick

Method rightClick

src/cdk/testing/test-element.ts:106–106  ·  view source on GitHub ↗

* Right clicks on the element at the specified coordinates relative to the top-left of it. * @param relativeX Coordinate within the element, along the X-axis at which to click. * @param relativeY Coordinate within the element, along the Y-axis at which to click. * @param modifiers Modifier

(relativeX: number, relativeY: number, modifiers?: ModifierKeys)

Source from the content-addressed store, hash-verified

104 * @param modifiers Modifier keys held while clicking
105 */
106 rightClick(relativeX: number, relativeY: number, modifiers?: ModifierKeys): Promise<void>;
107
108 /** Focus the element. */
109 focus(): Promise<void>;

Callers 2

openMethod · 0.65
crossEnvironmentSpecsFunction · 0.65

Implementers 3

ProtractorElementsrc/cdk/testing/protractor/protractor-
SeleniumWebDriverElementsrc/cdk/testing/selenium-webdriver/sel
UnitTestElementsrc/cdk/testing/testbed/unit-test-elem

Calls

no outgoing calls

Tested by

no test coverage detected