NAME

Playwright::Locator - Automatically generated class for Playwright::Locator

VERSION

version 1.401

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

getByTitle(@args)

Execute the Locator::getByTitle playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getByTitle for more information.

focus(@args)

Execute the Locator::focus playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-focus for more information.

dblclick(@args)

Execute the Locator::dblclick playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-dblclick for more information.

press(@args)

Execute the Locator::press playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-press for more information.

pressSequentially(@args)

Execute the Locator::pressSequentially playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-pressSequentially for more information.

setInputFiles(@args)

Execute the Locator::setInputFiles playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-setInputFiles for more information.

isEditable(@args)

Execute the Locator::isEditable playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-isEditable for more information.

getByAltText(@args)

Execute the Locator::getByAltText playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getByAltText for more information.

first(@args)

Execute the Locator::first playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-first for more information.

selectText(@args)

Execute the Locator::selectText playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-selectText for more information.

frameLocator(@args)

Execute the Locator::frameLocator playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-frameLocator for more information.

selectOption(@args)

Execute the Locator::selectOption playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-selectOption for more information.

getByRole(@args)

Execute the Locator::getByRole playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getByRole for more information.

check(@args)

Execute the Locator::check playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-check for more information.

inputValue(@args)

Execute the Locator::inputValue playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-inputValue for more information.

waitFor(@args)

Execute the Locator::waitFor playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-waitFor for more information.

innerText(@args)

Execute the Locator::innerText playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-innerText for more information.

evaluateHandle(@args)

Execute the Locator::evaluateHandle playwright routine.

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

page(@args)

Execute the Locator::page playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-page for more information.

getByLabel(@args)

Execute the Locator::getByLabel playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getByLabel for more information.

allTextContents(@args)

Execute the Locator::allTextContents playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-allTextContents for more information.

dispatchEvent(@args)

Execute the Locator::dispatchEvent playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-dispatchEvent for more information.

allInnerTexts(@args)

Execute the Locator::allInnerTexts playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-allInnerTexts for more information.

count(@args)

Execute the Locator::count playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-count for more information.

isHidden(@args)

Execute the Locator::isHidden playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-isHidden for more information.

dragTo(@args)

Execute the Locator::dragTo playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-dragTo for more information.

or(@args)

Execute the Locator::or playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-or for more information.

innerHTML(@args)

Execute the Locator::innerHTML playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-innerHTML for more information.

all(@args)

Execute the Locator::all playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-all for more information.

type(@args)

Execute the Locator::type playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-type for more information.

getByPlaceholder(@args)

Execute the Locator::getByPlaceholder playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getByPlaceholder for more information.

screenshot(@args)

Execute the Locator::screenshot playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-screenshot for more information.

hover(@args)

Execute the Locator::hover playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-hover for more information.

clear(@args)

Execute the Locator::clear playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-clear for more information.

boundingBox(@args)

Execute the Locator::boundingBox playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-boundingBox for more information.

filter(@args)

Execute the Locator::filter playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-filter for more information.

elementHandles(@args)

Execute the Locator::elementHandles playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-elementHandles for more information.

click(@args)

Execute the Locator::click playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-click for more information.

getAttribute(@args)

Execute the Locator::getAttribute playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getAttribute for more information.

last(@args)

Execute the Locator::last playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-last for more information.

locator(@args)

Execute the Locator::locator playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-locator for more information.

isEnabled(@args)

Execute the Locator::isEnabled playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-isEnabled for more information.

isDisabled(@args)

Execute the Locator::isDisabled playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-isDisabled for more information.

isVisible(@args)

Execute the Locator::isVisible playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-isVisible for more information.

isChecked(@args)

Execute the Locator::isChecked playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-isChecked for more information.

highlight(@args)

Execute the Locator::highlight playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-highlight for more information.

blur(@args)

Execute the Locator::blur playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-blur for more information.

getByText(@args)

Execute the Locator::getByText playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getByText for more information.

elementHandle(@args)

Execute the Locator::elementHandle playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-elementHandle for more information.

setChecked(@args)

Execute the Locator::setChecked playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-setChecked for more information.

evaluate(@args)

Execute the Locator::evaluate playwright routine.

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

textContent(@args)

Execute the Locator::textContent playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-textContent for more information.

evaluateAll(@args)

Execute the Locator::evaluateAll playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-evaluateAll for more information.

uncheck(@args)

Execute the Locator::uncheck playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-uncheck for more information.

nth(@args)

Execute the Locator::nth playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-nth for more information.

getByTestId(@args)

Execute the Locator::getByTestId playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-getByTestId for more information.

tap(@args)

Execute the Locator::tap playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-tap for more information.

scrollIntoViewIfNeeded(@args)

Execute the Locator::scrollIntoViewIfNeeded playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-scrollIntoViewIfNeeded for more information.

and(@args)

Execute the Locator::and playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-and for more information.

fill(@args)

Execute the Locator::fill playwright routine.

See https://playwright.dev/docs/api/class-Locator#Locator-fill for more information.

on(@args)

Execute the Locator::on playwright routine.

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

SEE ALSO

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

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) 2020 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.