init
This commit is contained in:
13
vendor/codeception/base/src/Codeception/Exception/ElementNotFound.php
vendored
Normal file
13
vendor/codeception/base/src/Codeception/Exception/ElementNotFound.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
namespace Codeception\Exception;
|
||||
|
||||
use Codeception\Util\Locator;
|
||||
|
||||
class ElementNotFound extends \PHPUnit\Framework\AssertionFailedError
|
||||
{
|
||||
public function __construct($selector, $message = null)
|
||||
{
|
||||
$selector = Locator::humanReadableString($selector);
|
||||
parent::__construct($message . " element with $selector was not found.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user