HTML Actions

Centum\Codeception\Actions\HtmlActions

grabTextContent

grabTextContent(): string

submitForm

submitForm(
    string $selector,
    array<non-empty-string, mixed> $data = [],
    Centum\Interfaces\Http\FilesInterface $files = null
): void

see

see(
    non-empty-string $needle
): void

dontSee

dontSee(
    non-empty-string $needle
): void

seeInSource

seeInSource(
    non-empty-string $needle
): void

dontSeeInSource

dontSeeInSource(
    non-empty-string $needle
): void

seeInPageTitle

seeInPageTitle(
    non-empty-string $needle
): void

dontSeeInPageTitle

dontSeeInPageTitle(
    non-empty-string $needle
): void

grabPageTitle

Grabs the page title from the <title> tag. If the title is not set, an empty string will be returned.

grabPageTitle(): string

seeElement

seeElement(
    string $selector
): void

dontSeeElement

dontSeeElement(
    string $selector
): void

grabElement

grabElement(
    string $selector
): ?Symfony\Component\DomCrawler\Crawler