Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
29
vendor/jcalderonzumba/gastonjs/src/Exception/ObsoleteNode.php
vendored
Normal file
29
vendor/jcalderonzumba/gastonjs/src/Exception/ObsoleteNode.php
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Zumba\GastonJS\Exception;
|
||||
|
||||
/**
|
||||
* Class ObsoleteNode
|
||||
* @package Zumba\GastonJS\Exception
|
||||
*/
|
||||
class ObsoleteNode extends ClientError {
|
||||
|
||||
/**
|
||||
* @param array $response
|
||||
*/
|
||||
public function __construct($response) {
|
||||
parent::__construct($response);
|
||||
$this->message = $this->message();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function message() {
|
||||
return "The element you are trying to interact with is either not part of the DOM, or is
|
||||
not currently visible on the page (perhaps display: none is set).
|
||||
It's possible the element has been replaced by another element and you meant to interact with
|
||||
the new element. If so you need to do a new 'find' in order to get a reference to the
|
||||
new element.";
|
||||
}
|
||||
}
|
||||
Reference in a new issue