Home > puppeteer > Frame
Frame class
Signature:
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Frame class.
Methods
| Method |
Modifiers |
Description |
| _detach() |
|
|
| _navigated(framePayload) |
|
|
| _navigatedWithinDocument(url) |
|
|
| _onLifecycleEvent(loaderId, name) |
|
|
| _onLoadingStopped() |
|
|
| $(selector) |
|
|
| $$(selector) |
|
|
| $$eval(selector, pageFunction, args) |
|
|
| $eval(selector, pageFunction, args) |
|
|
| $x(expression) |
|
|
| addScriptTag(options) |
|
|
| addStyleTag(options) |
|
|
| childFrames() |
|
|
| click(selector, options) |
|
|
| content() |
|
|
| evaluate(pageFunction, args) |
|
|
| evaluateHandle(pageFunction, args) |
|
|
| executionContext() |
|
|
| focus(selector) |
|
|
| goto(url, options) |
|
|
| hover(selector) |
|
|
| isDetached() |
|
|
| name() |
|
|
| parentFrame() |
|
|
| select(selector, values) |
|
|
| setContent(html, options) |
|
|
| tap(selector) |
|
|
| title() |
|
|
| type(selector, text, options) |
|
|
| url() |
|
|
| waitFor(selectorOrFunctionOrTimeout, options, args) |
|
|
| waitForFunction(pageFunction, options, args) |
|
|
| waitForNavigation(options) |
|
|
| waitForSelector(selector, options) |
|
|
| waitForXPath(xpath, options) |
|
|