You are here

public function BrowserMouseEventTrait::click in Zircon Profile 8

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

Click on a given page and element

Parameters

$pageId:

$elementId:

Return value

mixed

File

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

Class

BrowserMouseEventTrait
Trait BrowserMouseEventTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

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