Playwright Automation Tutorial For Beginners From Scratch

  Рет қаралды 18,588

Mukesh otwani

Mukesh otwani

Күн бұрын

Пікірлер: 58
@anouarchouikh2305
@anouarchouikh2305 3 ай бұрын
You are the best Mukesh! you are the teacher number for me! and I believe that I'm not the only one saying that ;) So many thanks
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
It means alot to me. Thank you so much Anouar
@ganeshrohit2975
@ganeshrohit2975 2 ай бұрын
Before starting this , JavaScript knowledge is required or that also you covered in this topic? If yes please let me know
@Mukeshotwani
@Mukeshotwani 2 ай бұрын
Hi Ganesh, yes JS is must if you are learning Playwright With JavaScript . Here is the playlist which u can follow for JavaScript kzbin.info/www/bejne/faacfJeYpd-GrM0
@swesifat
@swesifat 2 ай бұрын
Great presentation! Could you please make a video on how to use browser extensions, how to use MetaMask in tests, how to handle extension settings configuration, and how to retain user login data?
@Mukeshotwani
@Mukeshotwani 2 ай бұрын
HI Sifat, Not tried but MetaMask but here is how to add extensions in playwright playwright.dev/docs/chrome-extensions I have same video with Java Selenium that will give you some idea kzbin.info/www/bejne/ioDPnptmoN9so8U&ab_channel=Mukeshotwani
@jayholland3147
@jayholland3147 3 ай бұрын
Question - I assume you are running Jenkins on your local machine? My Jenkins is running on a server somewhere. When I create a build like yours for node --version, it fails. Is there something I need to do in the batch command prior to the node ---version? Thank you
@jayholland3147
@jayholland3147 3 ай бұрын
And yes, I verified with my infrastructure team node.js is in fact installed on the same box that Jenkins is running on.
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Hi Jay, you need to set the path in Jenkins . Manage Jenkins > Tools > Set Node JS path so that whenever you run any node command it should be able to run.
@MS-mv5vs
@MS-mv5vs 3 ай бұрын
Hi Mukesh, Thanks a lot for the good work. Keep it up! I have a quick question, what test tool or framework you would suggest for testing OpenFin based Desktop application? Please let me know.
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Welcome, I am glad it helped. I have not much idea on OpenFin based app.
@MS-mv5vs
@MS-mv5vs 3 ай бұрын
@@Mukeshotwani It's okay Bro! Thanks for your quick response.
@NavyasreeYadavalli
@NavyasreeYadavalli 3 ай бұрын
Hi Mukesh may i know what is the reason for choosing Javascript over typescript ? why industry is more inclined towards typescript with Playwright ?
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Hi Navyasree TypeScript is a superset of JavaScript and TypeScript have many features. I am listing some of them. Static Typing - Can find related errors at compile time, leading to more reliable code Object-Oriented Programming (OOP) Features - like classes, interfaces etc Error Prevention (null/undefined issues) Seamless Integration etc
@77seban
@77seban 7 күн бұрын
I am looking for tool to automate tests on WEB application but my environment ST is changing after DB is updated. So do you know which tool is the best for this ?
@Mukeshotwani
@Mukeshotwani Күн бұрын
Any tool will work for this. You can use Selenium Or PLaywright
@LiveTournaments1
@LiveTournaments1 2 ай бұрын
can you make a video on real time project with playwright, so we can learn more about structure file and best practices. thanks.
@Mukeshotwani
@Mukeshotwani 2 ай бұрын
I have mentioned at last with Page Object Model.
@siddabattuniharinadh1371
@siddabattuniharinadh1371 3 ай бұрын
Great effort 👏
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Thanks a lot 😊
@sriannam7278
@sriannam7278 Ай бұрын
Hi can u please share the link how to write XPath and CSS manually in selectors hub
@Mukeshotwani
@Mukeshotwani Ай бұрын
Hi Sri, once u open the selectorshub you will see search icon where you can write xpath and css selectors. Here is the link of the video kzbin.info/www/bejne/jXnSdX2Xist9rtk
@alexdin1565
@alexdin1565 3 ай бұрын
is their a good way to make it undetectable because a lot of websites detect me when I use playwright I change the user agent the Ip etc...
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Hey Alex what is your requirement ?
@saisravantiriveedhi83
@saisravantiriveedhi83 2 ай бұрын
Hi Mukesh, Thanks for the video ,it is very helpful. Also if you could make a video on Performance testing, which we can integrate with playwright, It would be helpful :)
@Mukeshotwani
@Mukeshotwani 2 ай бұрын
Noted Sai. I will try my best for performance testing too.
@Ruslan-ps9rz
@Ruslan-ps9rz 16 күн бұрын
Are these videos were recordered in 2020?
@Mukeshotwani
@Mukeshotwani 13 күн бұрын
Nope last year Why Ruslan ?
@Ruslan-ps9rz
@Ruslan-ps9rz 13 күн бұрын
@Mukeshotwani I watched in the video that node version was 14 and I thought it was in 2020)) Because of currently it is 22 version.
@Mukeshotwani
@Mukeshotwani 13 күн бұрын
@Ruslan-ps9rz ok got it 🫢 I didn’t update my nodejs while recording..
@Ruslan-ps9rz
@Ruslan-ps9rz 13 күн бұрын
@@Mukeshotwani I see. Thanks a lot for the Playwright lessons👍
@Mukeshotwani
@Mukeshotwani 13 күн бұрын
@ most welcome Ruslan ♥️♥️
@RNEHAK1
@RNEHAK1 8 күн бұрын
when I am running my first test, its showing: Error: No tests found. Could you please help me fixing this?
@SINISTER_VELO
@SINISTER_VELO 6 күн бұрын
Configure the `testDir` to "tests" folder (or the folder your tests are present)
@hiruniwalisinghe
@hiruniwalisinghe 2 ай бұрын
It shows this error to me PS C:\Users\user\OneDrive\Documents\JavaScriptExamples> node Hello.js node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + node Hello.js + ~~~~ + CategoryInfo : ObjectNotFound: (node:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@Mukeshotwani
@Mukeshotwani 2 ай бұрын
Hi Hiruni, open cmd and type below commands node --version npm --version If you get node version and npm version correctly that means nodejs is installed properly. Then you can follow this video. If you are new to JS then you can also check my JS playlist kzbin.info/www/bejne/faacfJeYpd-GrM0&ab_channel=Mukeshotwani
@hiruniwalisinghe
@hiruniwalisinghe 2 ай бұрын
@Mukeshotwani thank you so much, Mukesh. Your tutorial is very valuable as a QA engineer to me. Thank you for your good work. My problem is resolved now 🙂
@Mukeshotwani
@Mukeshotwani 2 ай бұрын
@@hiruniwalisinghe Thank you Hiruni 😇 . Happy Learning.
@novanector-y4x
@novanector-y4x Ай бұрын
throw err; ^ Error: Cannot find module 'C:\Program Files odejs ode_modules pm\bin ode_modules pm\bin pm-prefix.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) at Module._load (node:internal/modules/cjs/loader:1051:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.18.0 Could not determine Node.js install directory getting this error in the VS node How should I proceed unable to view the npm
@Mukeshotwani
@Mukeshotwani Ай бұрын
Something is your with your nodejs installation. Do you want to connect for fix so that you can practise the rest ?
@novanector-y4x
@novanector-y4x Ай бұрын
@@Mukeshotwani yes
@novanector-y4x
@novanector-y4x 2 ай бұрын
throw err; ^ Error: Cannot find module 'C:\Program Files odejs ode_modules pm\bin ode_modules pm\bin pm-prefix.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) at Module._load (node:internal/modules/cjs/loader:1051:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v20.18.0 node:internal/modules/cjs/loader:1228 throw err; ^ Error: Cannot find module 'C:\Program Files odejs ode_modules pm\bin ode_modules pm\bin pm-cli.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15) at Module._load (node:internal/modules/cjs/loader:1051:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] } I am unable to view the nom version getting error like this
@Mukeshotwani
@Mukeshotwani 2 ай бұрын
Hi Nova, please update node and npm and try again.
@novanector-y4x
@novanector-y4x Ай бұрын
@@Mukeshotwani tried still the issue same
@navenreddyaleti7446
@navenreddyaleti7446 Ай бұрын
Thanks for the such a nice videos Mukesh and if you have time please do video for add cloud platoform like sauce labs or browser stack and Github actions please. Thanks for the videos again.
@Mukeshotwani
@Mukeshotwani Ай бұрын
Noted Naven, I have added LambdaTest in this. I will try to add others as well.
@navenreddyaleti7446
@navenreddyaleti7446 Ай бұрын
Thank you
@AnesbergTJ
@AnesbergTJ 3 ай бұрын
can you make playwright with python please
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Hi Anes, I will be starting Playwright With Java and then Playwright With Python.
@adhii66
@adhii66 3 ай бұрын
Thank you bhaii
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Most welcome sir
@DiyaVlogs10
@DiyaVlogs10 3 ай бұрын
playwright with Java please
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Hi Diva, I will be starting series on Playwright With Java soon.
@nkwpa
@nkwpa 3 ай бұрын
Hello bro, ❤ why not python?)
@AkashSingh-cj5nu
@AkashSingh-cj5nu 3 ай бұрын
What do u mean?
@nkwpa
@nkwpa 3 ай бұрын
​@@AkashSingh-cj5nuI mean, will the video run on Playwrighte with Python?
@Mukeshotwani
@Mukeshotwani 3 ай бұрын
Hi Buddy, next I am starting Playwright With Java then Playwright With Python.
Jenkins Tutorial For Beginners | QA | Crash Course
6:13:28
Mukesh otwani
Рет қаралды 37 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Playwright Interview Questions and Answers
16:36
LetCode with Koushik
Рет қаралды 18 М.
Devin just came to take your software job… will code for $8/hr
5:13
API Testing Using Postman | Crash Course
3:27:51
Mukesh otwani
Рет қаралды 108 М.
Israel Has The Right To Defend Itself | Stand-up Comedy by Daniel Fernandes
15:07
Playwright Tutorial Full Course 2024 | Playwright Testing Tutorial
6:55:08
Эдип Асанов - Антипаттерны в автоматизации, и как Playwright позволяет их избежать
46:12
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН