#83 Run Playwright Script in Interactive Mode using Python Shell| Playwright with Python

Publicado em: 27 Outubro 2022
no canal de: AutomationNeemo
1,062
10

#playwright
#pytest
#python

In this video we have discussed
How to run Playwright script in interactive mode using Python shell

Code snippet:
from playwright.sync_api import sync_playwright
playwright = sync_playwright().start()
browser = playwright.chromium.launch(headless=False, slow_mo=1000)
page = browser.new_page()
page.goto("https://www.google.com/")
print(page.url)
page.locator("text=Gmail").click()
page.go_back()
browser.close()
playwright.stop()

Github link - https://github.com/automationneemo/Pl...


Nesta página do site você pode assistir ao vídeo on-line #83 Run Playwright Script in Interactive Mode using Python Shell| Playwright with Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário AutomationNeemo 27 Outubro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,062 vezes e gostou 10 espectadores. Boa visualização!