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

Pubblicato il: 27 ottobre 2022
sul canale di: 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...


In questa pagina del sito puoi guardare il video online #83 Run Playwright Script in Interactive Mode using Python Shell| Playwright with Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato AutomationNeemo 27 ottobre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,062 volte e gli è piaciuto 10 spettatori. Buona visione!