You are here

ObsoleteNode.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Exception/ObsoleteNode.php

File

vendor/jcalderonzumba/gastonjs/src/Exception/ObsoleteNode.php
View source
<?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\n    not currently visible on the page (perhaps display: none is set).\n    It's possible the element has been replaced by another element and you meant to interact with\n    the new element. If so you need to do a new 'find' in order to get a reference to the\n    new element.";
  }

}

Classes

Namesort descending Description
ObsoleteNode Class ObsoleteNode @package Zumba\GastonJS\Exception