_generated\AcceptanceTesterActions::seeElement PHP Method

seeElement() public method

Checks that the given element exists on the page and is visible. You can also specify expected attributes of this element. php seeElement('.error'); $I->seeElement('//form/input[1]'); $I->seeElement('input', ['name' => 'login']); $I->seeElement('input', ['value' => '123456']); strict locator in first arg, attributes in second $I->seeElement(['css' => 'form input'], ['name' => 'login']); ?>
See also: Codeception\Module\WebDriver::seeElement()
public seeElement ( $selector, array $attributes = null )
$selector
$attributes array
    public function seeElement($selector, $attributes = null)
    {
        return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeElement', func_get_args()));
    }
AcceptanceTesterActions