Great content, and amazing work you are doing for the QE community. I have one simple question, when launching Codegen, unable to see the JavaScript option in the dropdown. using version 1.29.1
Hi koushik,when I have given https site url and its prompting to give pop up window for username and pwd,then how can I handle this situation,tried with "ignoreHTTSErrors" in context then try to fill the content,but playwright not able to detect popup username and pwd?my questions here first how to send context params in command line and how to handle https sites popup forms?
Hi, usually http authentication should be turned off in test environment. This scenario is not a good practice to automate. Playwright also has removed the http authentication because of security reasons. Encoding user name and password in the url will also not work, as chrome has restricted.
Hi Koushik, Thanks for the videos. When I run npx playwright codegen , I get an error browserType.launch: No executable path is specified.Pass 'executablePath' option directly. I have passed executablePath: for my other tests while launching with jest and it works fine. With npx I get this and cannot continue.
@@letcode I have set path name for chromium browser as it was not working for me if I didn't set the executable path directly but npx playwright codegen doesn't work for me
@@letcode ya Selenium Javascript with jest. Particularly in salesforce space, Selenium + Javascript + Jest is very high in demand and your videos are really good. It will be amazing if you can make few more of them
Great content, and amazing work you are doing for the QE community.
I have one simple question, when launching Codegen, unable to see the JavaScript option in the dropdown. using version 1.29.1
Thanks, it will be the library I guess not JS, still if u r not seeing pls update to the latest version.
@@letcode yes i can see library , is library same as JavaScript ? appreciate your response
Yes, both are the same.
Hi koushik,when I have given https site url and its prompting to give pop up window for username and pwd,then how can I handle this situation,tried with "ignoreHTTSErrors" in context then try to fill the content,but playwright not able to detect popup username and pwd?my questions here first how to send context params in command line and how to handle https sites popup forms?
Hi, usually http authentication should be turned off in test environment.
This scenario is not a good practice to automate.
Playwright also has removed the http authentication because of security reasons.
Encoding user name and password in the url will also not work, as chrome has restricted.
There might be another option to do it, but as I said earlier, it's not a good practice
I do not get the recorded code shown in the terminal, is there something I am missing? For now I am just copying from the recorder window.
Yes the behaviour is changed, instead of terminal we will get from the browser window.
is codegen developed by playwright or its a native code playwright using from some other company/Language? please reply
It's native
Hi Koushik, Thanks for the videos. When I run npx playwright codegen , I get an error browserType.launch: No executable path is specified.Pass 'executablePath' option directly. I have passed executablePath: for my other tests while launching with jest and it works fine. With npx I get this and cannot continue.
Codegen is specific to chromium only I guess.
If you have set path name then it try to execute in other browsers, so code gen doesn't work I guess.
@@letcode I have set path name for chromium browser as it was not working for me if I didn't set the executable path directly but npx playwright codegen doesn't work for me
R u on MAC OS?
if so pls have a look on this github.com/microsoft/playwright/issues/4722
looks like now recording has changed , some different code is recording and it has some issues, can you please do a video on latest recording options.
The concept is the same, only the UI might have changed.
have you removed this form from website if not please provide url?
Which website?
Let suppose if i want to upload a file for one field., Will it handle ?
Yes it can, will make a video soon.
Thanks for bringing such a nice concept
This was amazing!! Can you make some more videos on jest with selenium? It will really help
Selenium Javascript?
@@letcode ya Selenium Javascript with jest. Particularly in salesforce space, Selenium + Javascript + Jest is very high in demand and your videos are really good. It will be amazing if you can make few more of them
Ok sure, thank you ☺️
@@letcode thanks to you!! We will be awaiting for your videos
Hi, Any idea how to handle insecure site error?
Within the context option u have to pass ignoreHTTPSerror: true
@@letcode kindly help with sample code. Trying with java+playwright.
nice video, could you make one where you explain to scrape websites
Sure 😃
Thank you guy 👍
🤗
Hi, for me the code is not generating
There is few changes in the recent version.
Code will be generated in the console itself. Can you please check that.
Bro, not in console not in inspector tool
trying to fix since long time but not working
Recently also i used, it's working fine for me.
May be u can share the screenshot in our discord channel.
Link the in channel page.
@@letcode I have shared screenshot can u plz help me bro
Hi, do you give 1 to 1 traning
No, i don't do that.