puppeteer/new-docs/puppeteer.frame.md

57 lines
2.9 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Frame](./puppeteer.frame.md)
## Frame class
<b>Signature:</b>
```typescript
export declare class Frame
```
## Remarks
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()](./puppeteer.frame._detach.md) | | |
| [\_navigated(framePayload)](./puppeteer.frame._navigated.md) | | |
| [\_navigatedWithinDocument(url)](./puppeteer.frame._navigatedwithindocument.md) | | |
| [\_onLifecycleEvent(loaderId, name)](./puppeteer.frame._onlifecycleevent.md) | | |
| [\_onLoadingStopped()](./puppeteer.frame._onloadingstopped.md) | | |
| [$(selector)](./puppeteer.frame._.md) | | |
| [$$(selector)](./puppeteer.frame.__.md) | | |
| [$$eval(selector, pageFunction, args)](./puppeteer.frame.__eval.md) | | |
| [$eval(selector, pageFunction, args)](./puppeteer.frame._eval.md) | | |
| [$x(expression)](./puppeteer.frame._x.md) | | |
| [addScriptTag(options)](./puppeteer.frame.addscripttag.md) | | |
| [addStyleTag(options)](./puppeteer.frame.addstyletag.md) | | |
| [childFrames()](./puppeteer.frame.childframes.md) | | |
| [click(selector, options)](./puppeteer.frame.click.md) | | |
| [content()](./puppeteer.frame.content.md) | | |
| [evaluate(pageFunction, args)](./puppeteer.frame.evaluate.md) | | |
| [evaluateHandle(pageFunction, args)](./puppeteer.frame.evaluatehandle.md) | | |
| [executionContext()](./puppeteer.frame.executioncontext.md) | | |
| [focus(selector)](./puppeteer.frame.focus.md) | | |
| [goto(url, options)](./puppeteer.frame.goto.md) | | |
| [hover(selector)](./puppeteer.frame.hover.md) | | |
| [isDetached()](./puppeteer.frame.isdetached.md) | | |
| [name()](./puppeteer.frame.name.md) | | |
| [parentFrame()](./puppeteer.frame.parentframe.md) | | |
| [select(selector, values)](./puppeteer.frame.select.md) | | |
| [setContent(html, options)](./puppeteer.frame.setcontent.md) | | |
| [tap(selector)](./puppeteer.frame.tap.md) | | |
| [title()](./puppeteer.frame.title.md) | | |
| [type(selector, text, options)](./puppeteer.frame.type.md) | | |
| [url()](./puppeteer.frame.url.md) | | |
| [waitFor(selectorOrFunctionOrTimeout, options, args)](./puppeteer.frame.waitfor.md) | | |
| [waitForFunction(pageFunction, options, args)](./puppeteer.frame.waitforfunction.md) | | |
| [waitForNavigation(options)](./puppeteer.frame.waitfornavigation.md) | | |
| [waitForSelector(selector, options)](./puppeteer.frame.waitforselector.md) | | |
| [waitForXPath(xpath, options)](./puppeteer.frame.waitforxpath.md) | | |