3 namespace Zumba\GastonJS\Exception;
7 * @package Zumba\GastonJS\Exception
9 class ObsoleteNode extends ClientError {
12 * @param array $response
14 public function __construct($response) {
15 parent::__construct($response);
16 $this->message = $this->message();
22 public function message() {
23 return "The element you are trying to interact with is either not part of the DOM, or is
24 not currently visible on the page (perhaps display: none is set).
25 It's possible the element has been replaced by another element and you meant to interact with
26 the new element. If so you need to do a new 'find' in order to get a reference to the