-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: XPath and Text selector types are now supported (#309)
- Loading branch information
Showing
39 changed files
with
684 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
[@puppeteer/replay](../README.md) / LighthouseRunnerExtension | ||
|
||
# Class: LighthouseRunnerExtension | ||
|
||
## Hierarchy | ||
|
||
- [`PuppeteerRunnerExtension`](PuppeteerRunnerExtension.md) | ||
|
||
↳ **`LighthouseRunnerExtension`** | ||
|
||
## Table of contents | ||
|
||
### Constructors | ||
|
||
- [constructor](LighthouseRunnerExtension.md#constructor) | ||
|
||
### Methods | ||
|
||
- [afterAllSteps](LighthouseRunnerExtension.md#afterallsteps) | ||
- [afterEachStep](LighthouseRunnerExtension.md#aftereachstep) | ||
- [beforeAllSteps](LighthouseRunnerExtension.md#beforeallsteps) | ||
- [beforeEachStep](LighthouseRunnerExtension.md#beforeeachstep) | ||
- [createFlowResult](LighthouseRunnerExtension.md#createflowresult) | ||
- [runStep](LighthouseRunnerExtension.md#runstep) | ||
|
||
## Constructors | ||
|
||
### constructor | ||
|
||
• **new LighthouseRunnerExtension**(`browser`, `page`, `opts?`) | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :-------------- | :-------- | | ||
| `browser` | `Browser` | | ||
| `page` | `Page` | | ||
| `opts?` | `Object` | | ||
| `opts.timeout?` | `number` | | ||
|
||
#### Inherited from | ||
|
||
[PuppeteerRunnerExtension](PuppeteerRunnerExtension.md).[constructor](PuppeteerRunnerExtension.md#constructor) | ||
|
||
#### Defined in | ||
|
||
[PuppeteerRunnerExtension.ts:39](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L39) | ||
|
||
## Methods | ||
|
||
### afterAllSteps | ||
|
||
▸ **afterAllSteps**(`flow`): `Promise`<`void`\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :----- | :--------------------------------------------- | | ||
| `flow` | [`UserFlow`](../interfaces/Schema.UserFlow.md) | | ||
|
||
#### Returns | ||
|
||
`Promise`<`void`\> | ||
|
||
#### Overrides | ||
|
||
[PuppeteerRunnerExtension](PuppeteerRunnerExtension.md).[afterAllSteps](PuppeteerRunnerExtension.md#afterallsteps) | ||
|
||
#### Defined in | ||
|
||
[lighthouse/LighthouseRunnerExtension.ts:79](https://github.com/puppeteer/replay/blob/main/src/lighthouse/LighthouseRunnerExtension.ts#L79) | ||
|
||
--- | ||
|
||
### afterEachStep | ||
|
||
▸ **afterEachStep**(`step`, `flow`): `Promise`<`void`\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :----- | :--------------------------------------------- | | ||
| `step` | [`Step`](../modules/Schema.md#step) | | ||
| `flow` | [`UserFlow`](../interfaces/Schema.UserFlow.md) | | ||
|
||
#### Returns | ||
|
||
`Promise`<`void`\> | ||
|
||
#### Overrides | ||
|
||
[PuppeteerRunnerExtension](PuppeteerRunnerExtension.md).[afterEachStep](PuppeteerRunnerExtension.md#aftereachstep) | ||
|
||
#### Defined in | ||
|
||
[lighthouse/LighthouseRunnerExtension.ts:71](https://github.com/puppeteer/replay/blob/main/src/lighthouse/LighthouseRunnerExtension.ts#L71) | ||
|
||
--- | ||
|
||
### beforeAllSteps | ||
|
||
▸ **beforeAllSteps**(`flow`): `Promise`<`void`\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :----- | :--------------------------------------------- | | ||
| `flow` | [`UserFlow`](../interfaces/Schema.UserFlow.md) | | ||
|
||
#### Returns | ||
|
||
`Promise`<`void`\> | ||
|
||
#### Overrides | ||
|
||
[PuppeteerRunnerExtension](PuppeteerRunnerExtension.md).[beforeAllSteps](PuppeteerRunnerExtension.md#beforeallsteps) | ||
|
||
#### Defined in | ||
|
||
[lighthouse/LighthouseRunnerExtension.ts:34](https://github.com/puppeteer/replay/blob/main/src/lighthouse/LighthouseRunnerExtension.ts#L34) | ||
|
||
--- | ||
|
||
### beforeEachStep | ||
|
||
▸ **beforeEachStep**(`step`, `flow`): `Promise`<`void`\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :----- | :--------------------------------------------- | | ||
| `step` | [`Step`](../modules/Schema.md#step) | | ||
| `flow` | [`UserFlow`](../interfaces/Schema.UserFlow.md) | | ||
|
||
#### Returns | ||
|
||
`Promise`<`void`\> | ||
|
||
#### Overrides | ||
|
||
[PuppeteerRunnerExtension](PuppeteerRunnerExtension.md).[beforeEachStep](PuppeteerRunnerExtension.md#beforeeachstep) | ||
|
||
#### Defined in | ||
|
||
[lighthouse/LighthouseRunnerExtension.ts:54](https://github.com/puppeteer/replay/blob/main/src/lighthouse/LighthouseRunnerExtension.ts#L54) | ||
|
||
--- | ||
|
||
### createFlowResult | ||
|
||
▸ **createFlowResult**(): `Promise`<`any`\> | ||
|
||
#### Returns | ||
|
||
`Promise`<`any`\> | ||
|
||
#### Defined in | ||
|
||
[lighthouse/LighthouseRunnerExtension.ts:27](https://github.com/puppeteer/replay/blob/main/src/lighthouse/LighthouseRunnerExtension.ts#L27) | ||
|
||
--- | ||
|
||
### runStep | ||
|
||
▸ **runStep**(`step`, `flow`): `Promise`<`void`\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :----- | :--------------------------------------------- | | ||
| `step` | [`Step`](../modules/Schema.md#step) | | ||
| `flow` | [`UserFlow`](../interfaces/Schema.UserFlow.md) | | ||
|
||
#### Returns | ||
|
||
`Promise`<`void`\> | ||
|
||
#### Inherited from | ||
|
||
[PuppeteerRunnerExtension](PuppeteerRunnerExtension.md).[runStep](PuppeteerRunnerExtension.md#runstep) | ||
|
||
#### Defined in | ||
|
||
[PuppeteerRunnerExtension.ts:60](https://github.com/puppeteer/replay/blob/main/src/PuppeteerRunnerExtension.ts#L60) |
Oops, something went wrong.