Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Pass cdp options to CDP.new() #103

Merged
merged 2 commits into from
Aug 2, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/chrome/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class LocalChrome implements Chrome {
}

private async initRuntimeClient(): Promise<RuntimeClient> {
const target = await CDP.New()
const target = await CDP.New(this.options.cdp)
const client = await CDP({ target })

await this.setViewport(client)
Expand Down