NAME

Playwright::BrowserContext - Automatically generated class for Playwright::BrowserContext

VERSION

version 1.460

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

requestFinished(@args)

Execute the BrowserContext::requestFinished playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-requestFinished for more information.

page(@args)

Execute the BrowserContext::page playwright routine.

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

routeFromHAR(@args)

Execute the BrowserContext::routeFromHAR playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-routeFromHAR for more information.

waitForPage(@args)

Execute the BrowserContext::waitForPage playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-waitForPage for more information.

exposeBinding(@args)

Execute the BrowserContext::exposeBinding playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-exposeBinding for more information.

serviceWorkers(@args)

Execute the BrowserContext::serviceWorkers playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-serviceWorkers for more information.

response(@args)

Execute the BrowserContext::response playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-response for more information.

unroute(@args)

Execute the BrowserContext::unroute playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-unroute for more information.

cookies(@args)

Execute the BrowserContext::cookies playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-cookies for more information.

setHTTPCredentials(@args)

Execute the BrowserContext::setHTTPCredentials playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-setHTTPCredentials for more information.

removeAllListeners(@args)

Execute the BrowserContext::removeAllListeners playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-removeAllListeners for more information.

webError(@args)

Execute the BrowserContext::webError playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-webError for more information.

exposeFunction(@args)

Execute the BrowserContext::exposeFunction playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-exposeFunction for more information.

storageState(@args)

Execute the BrowserContext::storageState playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-storageState for more information.

waitForConsoleMessage(@args)

Execute the BrowserContext::waitForConsoleMessage playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-waitForConsoleMessage for more information.

dialog(@args)

Execute the BrowserContext::dialog playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-dialog for more information.

setDefaultTimeout(@args)

Execute the BrowserContext::setDefaultTimeout playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-setDefaultTimeout for more information.

clearPermissions(@args)

Execute the BrowserContext::clearPermissions playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-clearPermissions for more information.

waitForEvent2(@args)

Execute the BrowserContext::waitForEvent2 playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-waitForEvent2 for more information.

addInitScript(@args)

Execute the BrowserContext::addInitScript playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-addInitScript for more information.

newPage(@args)

Execute the BrowserContext::newPage playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-newPage for more information.

browser(@args)

Execute the BrowserContext::browser playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-browser for more information.

setOffline(@args)

Execute the BrowserContext::setOffline playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-setOffline for more information.

backgroundPages(@args)

Execute the BrowserContext::backgroundPages playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-backgroundPages for more information.

request(@args)

Execute the BrowserContext::request playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-request for more information.

close(@args)

Execute the BrowserContext::close playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-close for more information.

console(@args)

Execute the BrowserContext::console playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-console for more information.

unrouteAll(@args)

Execute the BrowserContext::unrouteAll playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-unrouteAll for more information.

pages(@args)

Execute the BrowserContext::pages playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-pages for more information.

clearCookies(@args)

Execute the BrowserContext::clearCookies playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-clearCookies for more information.

tracing(@args)

Execute the BrowserContext::tracing playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-tracing for more information.

waitForEvent(@args)

Execute the BrowserContext::waitForEvent playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-waitForEvent for more information.

setDefaultNavigationTimeout(@args)

Execute the BrowserContext::setDefaultNavigationTimeout playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-setDefaultNavigationTimeout for more information.

waitForCondition(@args)

Execute the BrowserContext::waitForCondition playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-waitForCondition for more information.

addCookies(@args)

Execute the BrowserContext::addCookies playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-addCookies for more information.

grantPermissions(@args)

Execute the BrowserContext::grantPermissions playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-grantPermissions for more information.

backgroundPage(@args)

Execute the BrowserContext::backgroundPage playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-backgroundPage for more information.

serviceWorker(@args)

Execute the BrowserContext::serviceWorker playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-serviceWorker for more information.

route(@args)

Execute the BrowserContext::route playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-route for more information.

clock(@args)

Execute the BrowserContext::clock playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-clock for more information.

setGeolocation(@args)

Execute the BrowserContext::setGeolocation playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-setGeolocation for more information.

newCDPSession(@args)

Execute the BrowserContext::newCDPSession playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-newCDPSession for more information.

requestFailed(@args)

Execute the BrowserContext::requestFailed playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-requestFailed for more information.

setExtraHTTPHeaders(@args)

Execute the BrowserContext::setExtraHTTPHeaders playwright routine.

See https://playwright.dev/docs/api/class-BrowserContext#BrowserContext-setExtraHTTPHeaders for more information.

on(@args)

Execute the BrowserContext::on playwright routine.

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

evaluate(@args)

Execute the BrowserContext::evaluate playwright routine.

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

evaluateHandle(@args)

Execute the BrowserContext::evaluateHandle playwright routine.

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