09u2h4n commited on
Commit
8fbc776
·
1 Parent(s): 101b595

module test2

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()