se cambia el uso de google chrome por firefox para que se pueda utlizar en macpro late 2013
This commit is contained in:
1 parent
1c39f6f45f
commit
99a587c4da
10 files changed
+48
-40
No files matched your search
+1
-2
@@ -28,9 +28,8 @@ def save_screenshot(page, name):
|
||||
def get_token(headless=False, timeout=60000):
|
||||
print("🚀 Iniciando navegador...")
|
||||
with sync_playwright() as p:
|
||||
browser = p.chromium.launch(
|
||||
browser = p.firefox.launch(
|
||||
headless=headless,
|
||||
args=["--disable-blink-features=AutomationControlled"],
|
||||
)
|
||||
context = browser.new_context(
|
||||
viewport={"width": 1280, "height": 800},
|
||||
|
||||
Reference in new issue
Block a user