Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
krisselden authored Nov 17, 2017
1 parent 4737140 commit 427b14c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ import { HeapProfiler } from "chrome-debugging-client/dist/protocol/tot";
createSession(async (session) => {
// spawns a chrome instance with a tmp user data
// and the debugger open to an ephemeral port
const process = await session.spawn("canary", {
additionalArguments: ['--headless'],
const process = await session.spawnBrowser('exact', {
executablePath: '/usr/bin/google-chrome-beta',
additionalArguments: ['--headless', '--disable-gpu', '--hide-scrollbars', '--mute-audio'],
windowSize: { width: 640, height: 320 }
});

Expand Down

0 comments on commit 427b14c

Please sign in to comment.