Playwright::GenericAssertions(3)

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

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

  toThrowError(@args)
Execute the GenericAssertions::toThrowError playwright routine.

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

  objectContaining(@args)
Execute the GenericAssertions::objectContaining playwright routine.

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

  toContain(@args)
Execute the GenericAssertions::toContain playwright routine.

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

  closeTo(@args)
Execute the GenericAssertions::closeTo playwright routine.

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

  toBeUndefined(@args)
Execute the GenericAssertions::toBeUndefined playwright routine.

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

  toEqual(@args)
Execute the GenericAssertions::toEqual playwright routine.

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

  toMatch(@args)
Execute the GenericAssertions::toMatch playwright routine.

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

  toBe(@args)
Execute the GenericAssertions::toBe playwright routine.

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

  toBeLessThan(@args)
Execute the GenericAssertions::toBeLessThan playwright routine.

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

  toBeGreaterThan(@args)
Execute the GenericAssertions::toBeGreaterThan playwright routine.

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

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

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

  any(@args)
Execute the GenericAssertions::any playwright routine.

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

  toHaveProperty(@args)
Execute the GenericAssertions::toHaveProperty playwright routine.

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

  toBeLessThanOrEqual(@args)
Execute the GenericAssertions::toBeLessThanOrEqual playwright routine.

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

  toBeNull(@args)
Execute the GenericAssertions::toBeNull playwright routine.

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

  toBeCloseTo(@args)
Execute the GenericAssertions::toBeCloseTo playwright routine.

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

  toBeGreaterThanOrEqual(@args)
Execute the GenericAssertions::toBeGreaterThanOrEqual playwright routine.

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

  arrayContaining(@args)
Execute the GenericAssertions::arrayContaining playwright routine.

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

  stringMatching(@args)
Execute the GenericAssertions::stringMatching playwright routine.

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

  stringContaining(@args)
Execute the GenericAssertions::stringContaining playwright routine.

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

  toMatchObject(@args)
Execute the GenericAssertions::toMatchObject playwright routine.

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

  anything(@args)
Execute the GenericAssertions::anything playwright routine.

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

  toBeFalsy(@args)
Execute the GenericAssertions::toBeFalsy playwright routine.

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

  toContainEqual(@args)
Execute the GenericAssertions::toContainEqual playwright routine.

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

  toHaveLength(@args)
Execute the GenericAssertions::toHaveLength playwright routine.

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

  toStrictEqual(@args)
Execute the GenericAssertions::toStrictEqual playwright routine.

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

  toThrow(@args)
Execute the GenericAssertions::toThrow playwright routine.

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

  toBeInstanceOf(@args)
Execute the GenericAssertions::toBeInstanceOf playwright routine.

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

  toBeNaN(@args)
Execute the GenericAssertions::toBeNaN playwright routine.

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

  toBeTruthy(@args)
Execute the GenericAssertions::toBeTruthy playwright routine.

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

  toBeDefined(@args)
Execute the GenericAssertions::toBeDefined playwright routine.

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

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

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

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

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

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

See <https://playwright.dev/docs/api/class-GenericAssertions#GenericAssertions-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.