Playwright::ElementHandle(3)

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

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

  hover(@args)
Execute the ElementHandle::hover playwright routine.

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

  innerHTML(@args)
Execute the ElementHandle::innerHTML playwright routine.

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

  press(@args)
Execute the ElementHandle::press playwright routine.

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

  selectMulti(@args)
Execute the ElementHandle::selectMulti playwright routine.

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

  dblclick(@args)
Execute the ElementHandle::dblclick playwright routine.

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

  selectOption(@args)
Execute the ElementHandle::selectOption playwright routine.

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

  inputValue(@args)
Execute the ElementHandle::inputValue playwright routine.

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

  dispatchEvent(@args)
Execute the ElementHandle::dispatchEvent playwright routine.

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

  scrollIntoViewIfNeeded(@args)
Execute the ElementHandle::scrollIntoViewIfNeeded playwright routine.

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

  focus(@args)
Execute the ElementHandle::focus playwright routine.

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

  innerText(@args)
Execute the ElementHandle::innerText playwright routine.

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

  click(@args)
Execute the ElementHandle::click playwright routine.

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

  isVisible(@args)
Execute the ElementHandle::isVisible playwright routine.

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

  eval(@args)
Execute the ElementHandle::eval playwright routine.

See <https://playwright.dev/docs/api/class-ElementHandle#ElementHandle-$eval> for more information.

  getAttribute(@args)
Execute the ElementHandle::getAttribute playwright routine.

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

  isDisabled(@args)
Execute the ElementHandle::isDisabled playwright routine.

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

  isHidden(@args)
Execute the ElementHandle::isHidden playwright routine.

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

  isEnabled(@args)
Execute the ElementHandle::isEnabled playwright routine.

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

  tap(@args)
Execute the ElementHandle::tap playwright routine.

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

  setInputFiles(@args)
Execute the ElementHandle::setInputFiles playwright routine.

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

  setChecked(@args)
Execute the ElementHandle::setChecked playwright routine.

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

  screenshot(@args)
Execute the ElementHandle::screenshot playwright routine.

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

  waitForSelector(@args)
Execute the ElementHandle::waitForSelector playwright routine.

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

  textContent(@args)
Execute the ElementHandle::textContent playwright routine.

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

  fill(@args)
Execute the ElementHandle::fill playwright routine.

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

  isChecked(@args)
Execute the ElementHandle::isChecked playwright routine.

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

  contentFrame(@args)
Execute the ElementHandle::contentFrame playwright routine.

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

  boundingBox(@args)
Execute the ElementHandle::boundingBox playwright routine.

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

  uncheck(@args)
Execute the ElementHandle::uncheck playwright routine.

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

  isEditable(@args)
Execute the ElementHandle::isEditable playwright routine.

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

  check(@args)
Execute the ElementHandle::check playwright routine.

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

  ownerFrame(@args)
Execute the ElementHandle::ownerFrame playwright routine.

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

  selectText(@args)
Execute the ElementHandle::selectText playwright routine.

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

  select(@args)
Execute the ElementHandle::select playwright routine.

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

  type(@args)
Execute the ElementHandle::type playwright routine.

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

  evalMulti(@args)
Execute the ElementHandle::evalMulti playwright routine.

See <https://playwright.dev/docs/api/class-ElementHandle#ElementHandle-$$eval> for more information.

  waitForElementState(@args)
Execute the ElementHandle::waitForElementState playwright routine.

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

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

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

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

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

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

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