You are here

public function ElementException::getElement in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Exception/ElementException.php \Behat\Mink\Exception\ElementException::getElement()

Get the element that caused the exception.

Return value

Element

File

vendor/behat/mink/src/Exception/ElementException.php, line 56

Class

ElementException
A standard way for elements to re-throw exceptions.

Namespace

Behat\Mink\Exception

Code

public function getElement() {
  return $this->element;
}