Skip to content

Commit

Permalink
Make the Chrome window bigger
Browse files Browse the repository at this point in the history
This is just to hopefully get better screenshots
  • Loading branch information
tdooner committed Jun 22, 2024
1 parent 424db56 commit e71c366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper/scrape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const initializeBrowser = async function(): Promise<WebDriver> {
driverOptions.addArguments("--no-sandbox")
driverOptions.addArguments("--disable-gpu")
driverOptions.addArguments("--disable-dev-shm-usage")
driverOptions.addArguments("--window-size=1600x1200")

const logPrefs = new logging.Preferences()
logPrefs.setLevel(logging.Type.PERFORMANCE, logging.Level.ALL)
Expand Down

0 comments on commit e71c366

Please sign in to comment.