Skip to content

Instantly share code, notes, and snippets.

@angiejones
Created September 11, 2020 19:05
Show Gist options
  • Save angiejones/8d2f1d05e4f353c8774a2b6178769293 to your computer and use it in GitHub Desktop.
Save angiejones/8d2f1d05e4f353c8774a2b6178769293 to your computer and use it in GitHub Desktop.
Playwright - declaring browser and page variables
const { chromium } = require('playwright')
let browser, page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment