Skip to content

Commit

Permalink
fix(bindings): unflake TestBrowserContextExposeFunction.shouldWork in…
Browse files Browse the repository at this point in the history
… java (microsoft#5532)
  • Loading branch information
yury-s authored Feb 20, 2021
1 parent 600f731 commit 1e327d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/browserContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export abstract class BrowserContext extends SdkObject {
}
const binding = new PageBinding(name, playwrightBinding, needsHandle, 'main');
this._pageBindings.set(identifier, binding);
this._doExposeBinding(binding);
await this._doExposeBinding(binding);
}

async grantPermissions(permissions: string[], origin?: string) {
Expand Down

0 comments on commit 1e327d4

Please sign in to comment.