(
content: string,
options: Partial<AnyChromiumLaunchConfiguration> = {},
)
| 553 | } |
| 554 | |
| 555 | async launchAndLoad( |
| 556 | content: string, |
| 557 | options: Partial<AnyChromiumLaunchConfiguration> = {}, |
| 558 | ): Promise<TestP> { |
| 559 | const url = 'data:text/html;base64,' + Buffer.from(content).toString('base64'); |
| 560 | const p = await this._launch(url, options); |
| 561 | await p.load(); |
| 562 | return p; |
| 563 | } |
| 564 | |
| 565 | async launchUrl( |
| 566 | url: string, |
no test coverage detected