You are here

public function MouseEventFailed::message in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Exception/MouseEventFailed.php \Zumba\GastonJS\Exception\MouseEventFailed::message()

Return value

string

File

vendor/jcalderonzumba/gastonjs/src/Exception/MouseEventFailed.php, line 41

Class

MouseEventFailed
Class MouseEventFailed @package Zumba\GastonJS\Exception

Namespace

Zumba\GastonJS\Exception

Code

public function message() {
  $name = $this
    ->getName();
  $position = implode(",", $this
    ->getPosition());
  return "Firing a {$name} at co-ordinates [{$position}] failed. Poltergeist detected\n            another element with CSS selector '#{selector}' at this position.\n            It may be overlapping the element you are trying to interact with.\n            If you don't care about overlapping elements, try using node.trigger('{$name}').";
}