09u2h4n commited on
Commit
e0659f0
·
verified ·
1 Parent(s): 8fbc776

Update take_ss.py

Browse files
Files changed (1) hide show
  1. take_ss.py +1 -1
take_ss.py CHANGED
@@ -3,7 +3,7 @@ import subprocess
3
  import base64
4
 
5
  def take_screenshot(url):
6
- #subprocess.run(["playwright", "install", "firefox"])
7
  with sync_playwright() as p:
8
  browser = p.firefox.launch()
9
  page = browser.new_page()
 
3
  import base64
4
 
5
  def take_screenshot(url):
6
+ subprocess.run(["playwright", "install", "firefox"])
7
  with sync_playwright() as p:
8
  browser = p.firefox.launch()
9
  page = browser.new_page()