Code-first Playwright intro tutorial on macOS (install to first script)

  Рет қаралды 1,864

AutomateTogether

AutomateTogether

Күн бұрын

A Playwright intro tutorial that aims at getting you started writing Playwright code as quickly as possible.
Finished script: pastebin.com/a...
Goals:
Learn to set up Playwright on macOS
Learn to write a basic script
a.Opening and closing the browser
b.Clicking, typing and waiting
c. Inspecting the page
d. Headless and headful launch
Resources shown:
nodejs.org
danube-webstor...
playwright.dev
Machine specs: MacBook Pro (13-inch, M1, 2020)
Danube credentials: user@email.com / supersecure1
Next steps:
Write a script performing a full checkout procedure on Danube
Add screenshots to your script
Add an assertion library like chai and assert against different elements
Read up on the commands you have used at playwright.dev
Start writing scripts running against a different website
Additional resources:
I sometimes post automation threads on Twitter @rag0g (get in touch!)
I write Checkly’s Headless guides: www.checklyhq....
My automation notes: ragog.link/tes...
Thanks for watching!

Пікірлер: 2
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Record Playwright scripts using Codegen
22:40
AutomateTogether
Рет қаралды 3,8 М.
#5 -  Playwright Setup and Installation on MAC OSx
7:56
Naveen AutomationLabs
Рет қаралды 18 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 90 М.
Playwright request interception
18:30
AutomateTogether
Рет қаралды 12 М.