You are here

public function BrowserMouseEventTrait::rightClick in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserMouseEventTrait.php \Zumba\GastonJS\Browser\BrowserMouseEventTrait::rightClick()

Triggers a right click on a page an element

Parameters

$pageId:

$elementId:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserMouseEventTrait.php, line 26

Class

BrowserMouseEventTrait
Trait BrowserMouseEventTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function rightClick($pageId, $elementId) {
  return $this
    ->command('right_click', $pageId, $elementId);
}