Playwright::LocatorAssertions(3)

NAME
Playwright::LocatorAssertions - Automatically generated class for Playwright::LocatorAssertions

VERSION
version 1.551

CONSTRUCTOR

  new(%options)
You shouldn't have to call this directly. Instead it should be returned to you as the result of calls on Playwright objects, or objects it returns.

METHODS

  toContainClass(@args)
Execute the LocatorAssertions::toContainClass playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toContainClass> for more information.

  NotToBeFocused(@args)
Execute the LocatorAssertions::NotToBeFocused playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeFocused> for more information.

  toHaveAccessibleDescription(@args)
Execute the LocatorAssertions::toHaveAccessibleDescription playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveAccessibleDescription> for more information.

  toBeEditable(@args)
Execute the LocatorAssertions::toBeEditable playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeEditable> for more information.

  NotToHaveAccessibleDescription(@args)
Execute the LocatorAssertions::NotToHaveAccessibleDescription playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveAccessibleDescription> for more information.

  toBeFocused(@args)
Execute the LocatorAssertions::toBeFocused playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeFocused> for more information.

  toHaveValue(@args)
Execute the LocatorAssertions::toHaveValue playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveValue> for more information.

  NotToBeChecked(@args)
Execute the LocatorAssertions::NotToBeChecked playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeChecked> for more information.

  toBeInViewport(@args)
Execute the LocatorAssertions::toBeInViewport playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeInViewport> for more information.

  NotToBeAttached(@args)
Execute the LocatorAssertions::NotToBeAttached playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeAttached> for more information.

  toHaveValues(@args)
Execute the LocatorAssertions::toHaveValues playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveValues> for more information.

  toHaveAttribute(@args)
Execute the LocatorAssertions::toHaveAttribute playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveAttribute> for more information.

  not(@args)
Execute the LocatorAssertions::not playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-not> for more information.

  NotToBeVisible(@args)
Execute the LocatorAssertions::NotToBeVisible playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeVisible> for more information.

  NotToHaveText(@args)
Execute the LocatorAssertions::NotToHaveText playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveText> for more information.

  toHaveCSS(@args)
Execute the LocatorAssertions::toHaveCSS playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveCSS> for more information.

  NotToContainClass(@args)
Execute the LocatorAssertions::NotToContainClass playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToContainClass> for more information.

  toBeEmpty(@args)
Execute the LocatorAssertions::toBeEmpty playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeEmpty> for more information.

  NotToBeEmpty(@args)
Execute the LocatorAssertions::NotToBeEmpty playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeEmpty> for more information.

  toBeEnabled(@args)
Execute the LocatorAssertions::toBeEnabled playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeEnabled> for more information.

  NotToHaveAccessibleErrorMessage(@args)
Execute the LocatorAssertions::NotToHaveAccessibleErrorMessage playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveAccessibleErrorMessage> for more information.

  NotToContainText(@args)
Execute the LocatorAssertions::NotToContainText playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToContainText> for more information.

  toHaveId(@args)
Execute the LocatorAssertions::toHaveId playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveId> for more information.

  NotToBeDisabled(@args)
Execute the LocatorAssertions::NotToBeDisabled playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeDisabled> for more information.

  toHaveScreenshot(@args)
Execute the LocatorAssertions::toHaveScreenshot playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveScreenshot> for more information.

  NotToBeHidden(@args)
Execute the LocatorAssertions::NotToBeHidden playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeHidden> for more information.

  toHaveAccessibleErrorMessage(@args)
Execute the LocatorAssertions::toHaveAccessibleErrorMessage playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveAccessibleErrorMessage> for more information.

  toHaveCount(@args)
Execute the LocatorAssertions::toHaveCount playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveCount> for more information.

  NotToHaveAttribute(@args)
Execute the LocatorAssertions::NotToHaveAttribute playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveAttribute> for more information.

  NotToMatchAriaSnapshot(@args)
Execute the LocatorAssertions::NotToMatchAriaSnapshot playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToMatchAriaSnapshot> for more information.

  NotToHaveRole(@args)
Execute the LocatorAssertions::NotToHaveRole playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveRole> for more information.

  NotToHaveClass(@args)
Execute the LocatorAssertions::NotToHaveClass playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveClass> for more information.

  NotToBeInViewport(@args)
Execute the LocatorAssertions::NotToBeInViewport playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeInViewport> for more information.

  toMatchAriaSnapshot(@args)
Execute the LocatorAssertions::toMatchAriaSnapshot playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toMatchAriaSnapshot> for more information.

  toHaveJSProperty(@args)
Execute the LocatorAssertions::toHaveJSProperty playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveJSProperty> for more information.

  toBeAttached(@args)
Execute the LocatorAssertions::toBeAttached playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeAttached> for more information.

  NotToHaveValue(@args)
Execute the LocatorAssertions::NotToHaveValue playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveValue> for more information.

  NotToHaveCSS(@args)
Execute the LocatorAssertions::NotToHaveCSS playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveCSS> for more information.

  toHaveText(@args)
Execute the LocatorAssertions::toHaveText playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveText> for more information.

  toBeChecked(@args)
Execute the LocatorAssertions::toBeChecked playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeChecked> for more information.

  toBeDisabled(@args)
Execute the LocatorAssertions::toBeDisabled playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeDisabled> for more information.

  toBeVisible(@args)
Execute the LocatorAssertions::toBeVisible playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeVisible> for more information.

  toHaveAccessibleName(@args)
Execute the LocatorAssertions::toHaveAccessibleName playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveAccessibleName> for more information.

  NotToHaveValues(@args)
Execute the LocatorAssertions::NotToHaveValues playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveValues> for more information.

  toBeHidden(@args)
Execute the LocatorAssertions::toBeHidden playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toBeHidden> for more information.

  NotToHaveAccessibleName(@args)
Execute the LocatorAssertions::NotToHaveAccessibleName playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveAccessibleName> for more information.

  toContainText(@args)
Execute the LocatorAssertions::toContainText playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toContainText> for more information.

  NotToBeEditable(@args)
Execute the LocatorAssertions::NotToBeEditable playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeEditable> for more information.

  toHaveClass(@args)
Execute the LocatorAssertions::toHaveClass playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveClass> for more information.

  NotToBeEnabled(@args)
Execute the LocatorAssertions::NotToBeEnabled playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToBeEnabled> for more information.

  NotToHaveId(@args)
Execute the LocatorAssertions::NotToHaveId playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveId> for more information.

  NotToHaveJSProperty(@args)
Execute the LocatorAssertions::NotToHaveJSProperty playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveJSProperty> for more information.

  NotToHaveCount(@args)
Execute the LocatorAssertions::NotToHaveCount playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-NotToHaveCount> for more information.

  toHaveRole(@args)
Execute the LocatorAssertions::toHaveRole playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-toHaveRole> for more information.

  on(@args)
Execute the LocatorAssertions::on playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-on> for more information.

  evaluate(@args)
Execute the LocatorAssertions::evaluate playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-evaluate> for more information.

  evaluateHandle(@args)
Execute the LocatorAssertions::evaluateHandle playwright routine.

See <https://playwright.dev/docs/api/class-LocatorAssertions#LocatorAssertions-evaluateHandle> for more information.

SEE ALSO
Please see those modules/websites for more information related to this module.

•   Playwright

BUGS
Please report any bugs or feature requests on the bugtracker website <https://github.com/teodesian/playwright-perl/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHORS
Current Maintainers:

•   George S. Baugh <teodesian@gmail.com>

COPYRIGHT AND LICENSE
Copyright (c) 2025 Troglodyne LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.