June 27, 2024, 4:16 p.m. | Alleluia Izimpamvu

DEV Community dev.to




Why Playwright?



  • Cross-language: JavaScript, TypeScript, Python, .NET, Java

  • Cross-platform: Windows, Linux, macOS, and support headed and headless mode

  • Cross-browser: Chromium, Webkit, and Firefox

  • Auto-wait

  • Codegen: Record your actions and save them in your language

  • Trace Viewer: Capture all information to investigate the test failure

  • And many more...


Pre-requisites



  • Install Node.js 18 +

  • VScode(To have a better experience by using the playwright extension)

  • Basic programming skills





Installation



  1. Open the terminal and run the below command


npm init playwright@latest


2.Choose JavaScript(default is …

auto automation browser chromium failure firefox headless information install java javascript language linux macos node node.js platform playwright python qa record save softwareengineering support test testing them trace typescript vscode windows

VP, Enterprise Applications

@ Blue Yonder | Scottsdale

Data Scientist - Moloco Commerce Media

@ Moloco | Redwood City, California, United States

Senior Backend Engineer (New York)

@ Kalepa | New York City. Hybrid

Senior Backend Engineer (USA)

@ Kalepa | New York City. Remote US.

Senior Full Stack Engineer (USA)

@ Kalepa | New York City. Remote US.

Senior Full Stack Engineer (New York)

@ Kalepa | New York City., Hybrid