You are here

public function PhantomJSDriver::blur in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/mink-phantomjs-driver/src/PhantomJSDriver.php \Zumba\Mink\Driver\PhantomJSDriver::blur()

Blur on element

Parameters

string $xpath:

Throws

DriverException

Overrides CoreDriver::blur

File

vendor/jcalderonzumba/mink-phantomjs-driver/src/PhantomJSDriver.php, line 139

Class

PhantomJSDriver
Class PhantomJSDriver @package Behat\Mink\Driver

Namespace

Zumba\Mink\Driver

Code

public function blur($xpath) {
  $element = $this
    ->findElement($xpath, 1);
  $this->browser
    ->trigger($element["page_id"], $element["ids"][0], "blur");
}