Skip to content

Commit bec0434

Browse files
authored
feat: add baseURL configuration to BrowserManager context (#252)
1 parent a47d5d8 commit bec0434

File tree

1 file changed

+1
-0
lines changed
  • packages/shortest/src/browser/manager

1 file changed

+1
-0
lines changed

packages/shortest/src/browser/manager/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export class BrowserManager {
5353

5454
this.context = await this.browser.newContext({
5555
viewport: { width: 1920, height: 1080 },
56+
baseURL: this.config.baseUrl,
5657
});
5758

5859
const page = await this.context.newPage();

0 commit comments

Comments
 (0)