THIS is Playwrights BEST Feature for Web Automation

preview_player
Показать описание
Playwrights codegen feature will record your inputs and convert it to code, makign creating the basis of your automation script quick and easy. This is one of the best features in my opinion as it saves a LOT of time writing out selectors and clicks and fills. It's not perfect though as we find out.

This video runs through an example of how to automate buying and item online for testing purposes to demonstrate what Playwright it capable of. We overcome some scrolling issues and output the final piece of data to out terminal.

Support Me:

-------------------------------------
Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases
Рекомендации по теме
Комментарии
Автор

It's a game-changer! Imagine how much time we save by this feature. Thank you so much John as always.

reymartpagente
Автор

Brilliant, I love that John seems so non-chalant while dropping a game-changing feature. Thanks for sharing!!!

northerngannet
Автор

Amazing video!
I really like all of your videos and consider you my most favorite code tutor, you have a very understandable and hardworked content.

Thank you very much for your great journey on webscraping world, i will always awe you for the knowledge you share and efforts you give to find them.

Thanks truly.

disk
Автор

Super useful session. Great example of creating good and not a flaky scenario. Thank you very much.

megpat
Автор

This makes my brain want to explode! This is amazing, so many potential applications. Thanks!

stevefox
Автор

Thanks John 👍👍
The website has changed and while I couldn't follow your example exactly I did use the codegen and extracted the total price of the cart. Couldn't use page.query_selector and instead used:

Seems a bit messy and can understand why it might be easier to get it to BeautifulSoup.
Thanks again. Great video and great tool.

stewart
Автор

Thanks john for covering about scroll down and up

adnanpramudio
Автор

Im from indonesian.. really good information... still wait to scrape data with this method.. good bless for you.. you save my time🥰

mohfatkurrozi
Автор

Thanks for your video! question: can we use toBeVisible() method instead of click(), when we are checking presence of element in the page?

maryamlarijani
Автор

Ok yeah you just talked me in to switching to playwright lol

narutocole
Автор

Are there any reasons now to use selenium at all? I mean it was useful only if you need to click something or input, but playwright can do that now.

Cheerfulnag
Автор

Can you create a video show best way to prevent site detecting you from using scrapping bot? I try a project before using different way to get Zillow data for project, but keep pop up captcha.

jakeliujakeliu
Автор

I'm trying to automate saving of a video clip via a web UI that gets clips from a server. The mpeg video doesn't load in chromium. Is there a way to record the code using chrome?

jimmedlock
Автор

Hi sir, can you make a video how to recaptcha bypass in airline website. Eg recaptcha inside the home page in bottom in right or left corner., and seen in monitoring request

hubttech
Автор

wouldn't it be better to use data-testIDs instead of simulating the scrolling behavior?

FCHFlo
Автор

Hi John! A very big fan here.
Very helpfull information, but what if there’s a captcha that we need to break?

inakisehernandez
Автор

Hi how can we do this with playwright or if is it even possible? in Scrapy using selenium, how can we do this with playwright, i tried but this doesn't work, kindly help!

legallyinsane
Автор

Nice. Didn't knew playwright had that feature!

slfgrlj
Автор

brilliant, Thanks for sharing this video

CodePhiles
Автор

Hey man, can you do a video about scraping with asynchronous playwright?

statsnow