Behat\Mink


Behat\Mink\Exception\ElementHtmlException
Behat/Mink/Exception/ElementHtmlException.php at line 21

Class ElementHtmlException

\Exception
└─Exception
└─ExpectationException
└─ElementHtmlException
All Known Subclasses:
ElementTextException

public class ElementHtmlException
extends ExpectationException

Mink's element HTML exception.

Author:
Konstantin Kudryashov

Constructor Summary
void

__construct(string message, Session session, Element element, \Exception exception)

Initializes exception.

Methods inherited from Behat\Mink\Exception\ExpectationException
__construct
Methods inherited from Behat\Mink\Exception\Exception
__construct, getResponseInfo, getSession, pipeString, trimBody, trimString

Constructor Detail

Behat/Mink/Exception/ElementHtmlException.php at line 38

__construct

public void __construct(string message, Session session, Element element, \Exception exception)

Initializes exception.

Parameters:
message - optional message
session - session instance
element - element
exception - expectation exception

Behat\Mink