Skip to content

Commit

Permalink
feat: add baseURL configuration to BrowserManager context (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroAVJ authored Jan 4, 2025
1 parent a47d5d8 commit bec0434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/shortest/src/browser/manager/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class BrowserManager {

this.context = await this.browser.newContext({
viewport: { width: 1920, height: 1080 },
baseURL: this.config.baseUrl,
});

const page = await this.context.newPage();
Expand Down

0 comments on commit bec0434

Please sign in to comment.