Modern Web Testing and Automation with Puppeteer (Google I/O ’19)
Вставка
- Опубліковано 15 вер 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;
Brilliant product. Hats off to you guys!
Exactly what i needed 2y ago. Throwing out macro recorder, its time to evolve :D
who would start testing with macro recorder???
used for Automation
Today your comment was posted 2 years ago.
@@tedchirvasiu Amazing
This tool helped me sleep so much during meet classes thank you so much
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
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
I want to run a headless chrome in my server api .Is there any way of doing that
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?
That sounds like it could be a WebKit issue, and puppeteer doesn't have WebKit support yet
Puppeteer/Cypress/Playwright are very cool, made for developers not for stakeholders!
Can't we move to more abstraction? How does it compare with Vision UI, there I can record and play.
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
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
tough crowd
"developers"
Are there plans for supporting other browsers as well, like Safari and Edge?
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.
Firefox is not just a great web browser, is the best web browser, build by the people for the people.
which is working on chromium engine
@@MagDag_ No, it uses its own rendering engine written in Rust and it has nothing to do with Chromium.
brilliant :D
Good talk thanks friends
is it stable enough to be integrated into our existing framework that uses chromium?
Very productive sessions
Can you verify design with this tool?
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?
can you show me the Page Object, please?
Really great
Amazing
Is it better then cypress?
Yes any day Puppeteer is better than Cypress.
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.
Interesting