Playwright Beginner Tutorial 5 | How To Record Tests
▬ ALL FREE COURSES ►
▬ ASK RAGHAV ►
▬ QUIZ ►
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 ...
#RaghavPal #playwright_how_to_record_test #playwright_codegen #playwright_test_generator #playwright_tutorial_for_complete_beginners #playwright_automation_framework #how_to_create_playwright_test_project #playwright_free_course
20220902
-F0eCZK_vxE