Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Feb 11, 2024
1 parent dd1a66f commit bac22d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ IS_HEADLESS = os.environ.get("GITHUB_ACTIONS") == "true"

def main():
with open_webdriver(headless=IS_HEADLESS) as driver:
driver.set_window_size(1440, 900) # Needed for headless mode.
# All Chromium / web driver dependencies are now installed.
driver.get("https://www.google.com")
assert driver.title == "Google"
Expand Down

0 comments on commit bac22d5

Please sign in to comment.