chore: format docs (#8629)

This commit is contained in:
jrandolf
2022-07-05 15:41:43 +02:00
committed by GitHub
parent 9e596d0761
commit b5a345b06b
726 changed files with 17463 additions and 15301 deletions

View File

@@ -1,23 +1,25 @@
---
sidebar_label: Frame.$x
---
# Frame.$x() method
This method evaluates the given XPath expression and returns the results.
**Signature:**
```typescript
class Frame {$x(expression: string): Promise<ElementHandle[]>;}
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| expression | string | the XPath expression to evaluate. |
**Returns:**
Promise&lt;[ElementHandle](./puppeteer.elementhandle.md)\[\]&gt;
---
sidebar_label: Frame.$x
---
# Frame.$x() method
This method evaluates the given XPath expression and returns the results.
**Signature:**
```typescript
class Frame {
$x(expression: string): Promise<ElementHandle[]>;
}
```
## Parameters
| Parameter | Type | Description |
| ---------- | ------ | --------------------------------- |
| expression | string | the XPath expression to evaluate. |
**Returns:**
Promise&lt;[ElementHandle](./puppeteer.elementhandle.md)\[\]&gt;