fix: send capabilities property in session.new command (#10311)
This commit is contained in:
parent
036c4b443f
commit
e8d044cb8d
@ -38,7 +38,7 @@ export class Browser extends BrowserBase {
|
||||
static async create(opts: Options): Promise<Browser> {
|
||||
// TODO: await until the connection is established.
|
||||
try {
|
||||
await opts.connection.send('session.new', {});
|
||||
await opts.connection.send('session.new', {capabilities: {}});
|
||||
} catch {}
|
||||
|
||||
await opts.connection.send('session.subscribe', {
|
||||
|
Loading…
Reference in New Issue
Block a user