Playwright Beginner Tutorial 5 | How To Record Tests
Automation Step by Step
@raghavpalAbout
Simple Basic Beginners Step-by-Step tutorials ❤️ I create videos on Automation, Testing, DevOps, CI and related tools, technologies and platform Raghav is a teacher and founder of AutomationStepByStep.com He was an Automation Architect and has led multiple teams of Automation and DevOps Engineers. For over a decade, Raghav witnessed, worked, and delivered multiple Automation Testing Projects and worked with some awesome people in this industry ► https://automationstepbystep.com/ Some topics covered: - Jenkins - JMeter - Selenium - Appium - Cypress - Playwright - Katalon Studio - API Testing - Postman - Docker - Kubernetes - Other DevOps topics Words from Raghav We often need someone to hold our hand and help us take the first few steps before we learn to walk and run. I am on a mission to spread education and make it available to anyone willing to learn Never Stop Learning Raghav All education here is FREE FOR ALL, FOREVER Share with as many people as you can in your lifetime
Video Description
▬ ALL FREE COURSES ► https://automationstepbystep.com/ ▬ ASK RAGHAV ► https://bit.ly/2CoJGWf ▬ QUIZ ► https://forms.gle/C9SbsSc9ZJmnrtZt9 How to record test - Test Generator Playwright comes with a tool - Codegen also called Test Generator Can be used to record test and generate test scripts It Opens 2 windows A browser window to interacts with the website Playwright Inspector window to record test 00:00 Intro 01:18 What is Codegen 02:14 Step 1 - Open terminal and run codegen *npx playwright codegen* 03:04 Step 2 - Check 2 windows open - Browser and Playwright Inspector 04:57 Step 3 - Record your test steps and check the test scripts getting created 06:43 Step 4 - Save the recorded script in a test file | Run and check 10:40 Can also add the url *npx playwright codegen google.com* 11:48 See all options *npx playwright codegen --help* 13:33 Screenshot moment 13:54 Record on a specific browser (default:chromium) *npx playwright codegen --browser firefox* 15:32 Record and save to a file *npx playwright codegen --target javascript -o record_example.js* 21:27 Set viewport - screen resolution (size) *npx playwright codegen --viewport-size=800,600* 22:52 Emulate devices *npx playwright codegen --device="iPhone 11"* 25:15 Emulate color scheme (if available) *npx playwright codegen --color-scheme=dark* 27:26 Screenshot moment #playwright #automation #testing ▬▬ CI CD DEVOPS ▬▬ JENKINS BEGINNER ► https://bit.ly/2MIn8EC JENKINSFILE ► https://bit.ly/3JSMSZ7 DOCKER ► https://bit.ly/2MInnzx KUBERNETES ► http://bit.ly/2MJIlMK ▬▬ UI TESTING ▬▬ SELENIUM BEGINNERS ► https://bit.ly/2MGRS8K SELENIUM JAVA FRAMEWORK ► https://bit.ly/2N9xvR6 SELENIUM PYTHON ► https://bit.ly/2oyMp5x SELENIUM TIPS ► https://bit.ly/2owxc50 SELENIUM 4 ► https://bit.ly/3AiJOlP KATALON STUDIO ► https://bit.ly/2wARFdi ROBOT FRAMEWORK with RIDE ► https://bit.ly/2Px6Ue9 ROBOT FRAMEWORK with Eclipse► http://bit.ly/2N8DZxb TEST PROJECT ► http://bit.ly/2DRNJYE CUCUMBER BDD ► https://bit.ly/3Cnno4z CYPRESS ► https://bit.ly/3PpEukM XPATH & WEB LOCATORS ► https://bit.ly/3PpEvoQ ▬▬ API TESTING ▬▬ WEB SERVICES (API) ► https://bit.ly/2MGafL7 SOAPUI ► https://bit.ly/2MGahmd POSTMAN ► https://bit.ly/2wz8LrW POSTMAN 2022 ► https://bit.ly/3JWm4qX JMETER API TESTING ► https://bit.ly/3AgVPar GENERAL ► https://bit.ly/2PYdwmV KATALON STUDIO API ► https://bit.ly/2BwuCTN REST ASSURED ► https://bit.ly/3zUdhRD KARATE API ► https://bit.ly/3w3H5Ku API MOCKING ► https://bit.ly/3bYPsjS ▬▬ MOBILE TESTING ▬▬ APPIUM ► https://bit.ly/2ZHFSGX MOBILE TESTING ►https://bit.ly/2PxpeUv ▬▬ PERFORMANCE TESTING ▬▬ JMETER BEGINNER ► https://bit.ly/2oBbtIU JMETER INTERMEDIATE ► https://bit.ly/2oziNVB JMETER ADVANCED ► https://bit.ly/2Q22Y6a JMETER TIPS & TRICKS ► https://bit.ly/2NOfWD2 PERFORMANCE TESTING ► https://bit.ly/2wEXbLS GATLING ► https://bit.ly/3QrWfkV ▬▬ IDE ▬▬ ECLIPSE ► https://bit.ly/3AnRhQP INTELLIJ IDEA ► https://bit.ly/3AnyDZ8 Visual Studio Code ► https://bit.ly/2V15yvt ▬▬ PROGRAMMING ▬▬ JAVA BEGINNERS ► https://bit.ly/2PVUcXs JAVA TIPS & TRICKS ► https://bit.ly/2CdcDnJ JAVASCRIPT ► http://bit.ly/2KJDZ8o TYPESCRIPT ► https://bit.ly/3dvJBmz PYTHON ► http://bit.ly/2Z4iRye RUBY ► https://bit.ly/3JRRmzf ▬▬ BUILD TOOLS ▬▬ MAVEN ► https://bit.ly/2NJdDRS GRADLE ► http://bit.ly/30l3h1B ▬▬ SOURCE CODE MANAGEMENT ▬▬ GIT & GITHUB ►https://bit.ly/2Q1pagY GITLAB ► http://bit.ly/2kQPGyQ ▬▬ CLOUD SERVICES ▬▬ BROWSERSTACK ► https://bit.ly/3w7kxZn SAUCELABS ► https://bit.ly/3w7kAo1 LAMBDATEST ► https://bit.ly/3C6TBwM ▬▬ DATA FORMATS ▬▬ JSON ► https://bit.ly/3w450tq XML ► https://bit.ly/3PqRneH ▬▬ MOCK INTERVIEWS ► https://bit.ly/3QGwwVJ ▬▬ ▬▬ RAGHAV PAL ▬▬ GITHUB PROJECTS ► https://github.com/Raghav-Pal/ STORIES BY RAGHAV ► https://automationstepbystep.com/stories/ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you You can support my mission for education by sharing this knowledge and helping as many people as you can If my work has helped you, consider helping any animal near you, in any way you can NEVER STOP LEARNING Raghav Pal
Essential Camera Gear Upgrade
AI-recommended products based on this video

koolehaoda L Shape Camera Bracket, Video Vertical Shooting Quick Release Plate L Stand Arca Swiss Compatible for Tripod Head Ballhead DSLR Camera

High Power 25X60 Binoculars for Adults Waterproof 60mm Big Eyepiece Fogproof Binoculars with BAK4 Prism FMC Lens for Outdoor Stargazing Hunting Sports Concerts Traveling Wildlife Bird Watching(25X60)

ESR Camera Lens Protector for iPhone 16/16 Plus, Tough HD Individual Protectors, Scratch Resistant, Ultra-thin Tempered Glass, Armorite Series, 1 Pack, Clear

Safety 1st Clear View Baby Nail Clippers, Grey – 5X Magnifying Lens and Easy-Grip Handle, Compact for Diaper Bag Essentials
![[2+2 Pack] UniqueMe Screen Protector for Samsung Galaxy S25 with Camera Lens Protector, Anti-Scratch, Fingerprint ID Compatible, HD Clear Tempered Film, Easy to Install, Bubble Free, Case Friendly](https://m.media-amazon.com/images/I/71zjt8qClbL._AC_UL960_FMwebp_QL65_.jpg)
[2+2 Pack] UniqueMe Screen Protector for Samsung Galaxy S25 with Camera Lens Protector, Anti-Scratch, Fingerprint ID Compatible, HD Clear Tempered Film, Easy to Install, Bubble Free, Case Friendly

DJI Osmo Action 4 Standard Combo, 4K/120fps Waterproof Action Camera with a 1/1.3-Inch Sensor, Stunning Low-Light Imaging,10-bit & D-Log M Color Performance, Long-Lasting 160 Mins, Outdoor Camera




















