Web Scraping, Screenshotting and Automated Testing Playwright Tutorial

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ •

  • @erichepperlewp
    @erichepperlewp 6 місяців тому

    As always, a great project based tutorial! By the end of it you will have autogenerated screenshots and scraped data very simple to understand!

  • @alexandersamokhin
    @alexandersamokhin 6 місяців тому +1

    I only used Puppeteer in the past, but I found it very similar to how Playwright works. I used it to scrape the data about power interruptions from our local power plant website and send email using Node since they don't provide any notification method. I then run the script using Windows task runner which runs a simple batch file on my local machine once a day :)

  • @devine_noise
    @devine_noise 6 місяців тому +1

    Awesome tutorial, ty

  • @Line49Design
    @Line49Design 6 місяців тому

    You have great presentation style. 👍

  • @juguetestoys1137
    @juguetestoys1137 6 місяців тому

    hi master! do you know how to deploy this in vercel or netlify ?

  • @ozgursar5386
    @ozgursar5386 6 місяців тому

    Thanks for the quick tips on Playwright! I guess this can run behind an express server so that users can send certain queries...

    • @LearnWebCode
      @LearnWebCode  6 місяців тому

      You're welcome. Yes, that's what's so fun about these automation features, tying this together with Express or your own sessions / tokens, you could bring screenshot / scraping / testing features to end-users as well.

  • @danh1118
    @danh1118 14 днів тому

    Hi Brad, I like all of your tutorials and I've purchased 3 of your course on udemy. I want to build a comparison site but need to web scrap the data from the websites I'm comparing so a user can search and filter the data. Is this possible from using this method of web scraping?

    • @LearnWebCode
      @LearnWebCode  14 днів тому +1

      Yes absolutely, but it does depend on the specific websites you need to scrape. Some websites that anticipate being scraped will have things set up that detect scraping scripts (if your script is running pretty frequently) and you might need to use a scraping service; but I don't want to advertise or directly endorse any 1 company.

    • @danh1118
      @danh1118 13 днів тому

      @LearnWebCode Thank you Brad!

  • @alexanderkomanov4151
    @alexanderkomanov4151 6 місяців тому

    Hreat!
    But why not to use a test function?

    • @LearnWebCode
      @LearnWebCode  6 місяців тому +1

      Thanks! Do you mean like unit testing? Or do you mean why didn't I include the screenshot and scraping features within the test / assertion / report area?

    • @alexanderkomanov4151
      @alexanderkomanov4151 6 місяців тому

      @@LearnWebCode
      No. Basically I meant why you didn’t use the test() fixture function instead of just a simple function?

  • @JimKernix
    @JimKernix 6 місяців тому

    You are missing a favicon for your website