module test1
Browse files- take_ss.py +1 -1
take_ss.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
from playwright.sync_api import sync_playwright
|
| 2 |
import subprocess
|
| 3 |
-
|
| 4 |
|
| 5 |
def take_screenshot(url):
|
| 6 |
subprocess.run(["playwright", "install", "firefox"])
|
|
|
|
| 1 |
from playwright.sync_api import sync_playwright
|
| 2 |
import subprocess
|
| 3 |
+
import base64
|
| 4 |
|
| 5 |
def take_screenshot(url):
|
| 6 |
subprocess.run(["playwright", "install", "firefox"])
|