Modern Web Testing and Automation with Puppeteer (Google I/O ’19)

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • Puppeteer is a Node library developed by the Chrome DevTools team for testing and automating headless and full Chrome. In this talk, learn how to easily setup Puppeteer for modern testing in different browsers and highlight other interesting use cases of headless Chrome: e2e workflows, tooling integration, ""the browser as a service"", CI/CD, using Puppeteer for local development, and more.
    Watch more #io19 here:
    Web at Google I/O 2019 Playlist → goo.gle/io19web
    Google I/O 2019 All Sessions Playlist → goo.gle/io19al...
    Learn more on the I/O Website → google.com/io
    Subscribe to the Chrome Developers Channel → goo.gle/Chrome...
    Get started at → www.google.com...
    Speaker(s): Andrey Lushnikov, Joel Einbinder
    T4779A" event: Google I/O 2019; re_ty: Publish; fullname: Andrey Lushnikov, Joel Einbinder;

Komentáře • 38

  • @gauravmisrasankar4032
    @gauravmisrasankar4032 Před 5 lety +10

    Brilliant product. Hats off to you guys!

  • @pastuh
    @pastuh Před 5 lety +17

    Exactly what i needed 2y ago. Throwing out macro recorder, its time to evolve :D

    • @MsTwte
      @MsTwte Před 3 lety

      who would start testing with macro recorder???

    • @pastuh
      @pastuh Před 3 lety

      used for Automation

    • @tedchirvasiu
      @tedchirvasiu Před 3 lety

      Today your comment was posted 2 years ago.

    • @pastuh
      @pastuh Před 3 lety

      @@tedchirvasiu Amazing

  • @Oreoezi
    @Oreoezi Před 3 lety

    This tool helped me sleep so much during meet classes thank you so much

  • @djn138
    @djn138 Před 3 lety +1

    I love Puppeteer, it’s critical for testing my app. Very excited about Firefox and that Safari is on the roadmap. Definitely going to try out the mobile device emulation

  • @j.k.ravshanovich
    @j.k.ravshanovich Před rokem

    Puppeteer/Cypress/Playwright are very cool, made for developers not for stakeholders!

  • @ahmedelmetwally1440
    @ahmedelmetwally1440 Před 4 lety +1

    I'm using puppeteer since two years for generate large reports includes many of maps and graphs then export it as a PDF file. and it very useful for me

    • @abhi_rck
      @abhi_rck Před 3 lety

      I want to run a headless chrome in my server api .Is there any way of doing that

  • @Overthought7
    @Overthought7 Před 5 lety +6

    tough crowd

  • @monetcarriere9919
    @monetcarriere9919 Před 3 lety +1

    brilliant :D

  • @Mr767267
    @Mr767267 Před 3 lety

    Can't we move to more abstraction? How does it compare with Vision UI, there I can record and play.

  • @destroyer-tz2mk
    @destroyer-tz2mk Před 4 lety +10

    Can't wait to use this to fill in all possible answers in google forms for my math test
    edit: I can't because only emails from my school acc are accepted to fill it in. FML

  • @AbdelhameedG
    @AbdelhameedG Před 4 lety

    Good talk thanks friends

  • @sheraton234
    @sheraton234 Před 4 lety

    Very productive sessions

  • @ameghanandode7693
    @ameghanandode7693 Před 4 lety +2

    With my experience, I have seen on actual IPAD or touch devices the issues are reproducible, but with the Chrome emulators the issues are not reproducible. Is there something new introduced with Puppeteer so that we can reproduce the issues in Chrome emulator too?

    • @jackiecs8190
      @jackiecs8190 Před 4 lety

      That sounds like it could be a WebKit issue, and puppeteer doesn't have WebKit support yet

  • @testpassion1338
    @testpassion1338 Před 4 lety

    I would like to automate the performance record and stop in chrome dev tools but will Puppeteer give me a way to save the interactive timeline report? Can puppeteer be run in a headfull mode? in an incognito tab? I saw the developers page but no specific examples

  • @viktorsoroka4510
    @viktorsoroka4510 Před 5 lety +2

    Are there plans for supporting other browsers as well, like Safari and Edge?

    • @RaidenFreeman
      @RaidenFreeman Před 5 lety +1

      This is based on CDP (chrome devtools protocol), so when Edge converts to chromium it will probably largely work. I think (I may be wrong) that Safari does not play very nice with CDP, but it might in the future.

  • @alittlebyte
    @alittlebyte Před 4 lety

    How can people still use enzyme and react-testing-library for testing when such amazing tools are available?
    Simple, powerful, fast. What else y'all need?

  • @andriinebylovych294
    @andriinebylovych294 Před 4 lety

    Really great

  • @kricekt2001
    @kricekt2001 Před 3 lety

    Can you verify design with this tool?

  • @user-cs5hv3eg2i
    @user-cs5hv3eg2i Před 3 lety

    can you show me the Page Object, please?

  • @ganeshpandeyjs
    @ganeshpandeyjs Před 5 lety

    Amazing

  • @danb2108
    @danb2108 Před 5 lety +11

    Firefox is not just a great web browser, is the best web browser, build by the people for the people.

    • @MagDag_
      @MagDag_ Před 4 lety +2

      which is working on chromium engine

    • @user-rg1jp2us4o
      @user-rg1jp2us4o Před 4 lety +2

      @@MagDag_ No, it uses its own rendering engine written in Rust and it has nothing to do with Chromium.

  • @vivekbhardwaj8295
    @vivekbhardwaj8295 Před 5 lety

    is it stable enough to be integrated into our existing framework that uses chromium?

  • @erlinvazquezcastellanos4052

    Interesting

  • @AlekseyRazbakov
    @AlekseyRazbakov Před 5 lety +6

    Is it better then cypress?

    • @sahajamitrawat
      @sahajamitrawat Před 5 lety +4

      Yes any day Puppeteer is better than Cypress.

    • @Tszyu01
      @Tszyu01 Před 5 lety

      They can't really be compared equally. Cypress is specifically for automation testing of web applications. It provides utilities for everything from debugging, spies/stubs/clocks, network traffic control, screenshots/videos and more. All these things can absolutely be done in puppeteer, but you would have to write/engineer those utilities.