Code Monkey home page Code Monkey logo

playwright-demos's Introduction

playwright-demos

Playwright is a Node library to automate the Chromium, WebKit and Firefox browsers with a single API. It enables cross-browser web automation that is ever-green, capable, reliable and fast.

Found this project useful?

If you found this project useful, then please consider giving it a โญ๏ธ on Github and sharing it with your friends via social media.

Prerequisites

If you are new to node.js, first install node.js >= 10.15.0

Run the Repo app locally

  1. git clone https://github.com/nmanikiran/playwright-demos.git

  2. cd playwright-demos && npm install

  3. npm start | yarn start | node <filename>.js

Examples

  1. Launch Webpage

  2. Web Page Content

  3. Web page Screnshot

  4. Access DOM

  5. Create Webpage PDF

  6. Mobile Emulation

  7. Web Workers list

  8. Frame(s)

  9. Color scheme change

  10. Cookies

  11. File Upload

  12. Accessibility

  13. Performance

  14. Network

  15. PWA

  16. Scraping

  17. CDPSessions

  18. Automation / E2E

  19. Visual Testing

TODO

- Add test cases
- image snapshot tests
- Improve Docs

Contributing

Awesome! Contributions of all kinds are greatly appreciated. To help smoothen the process we have a few non-exhaustive guidelines to follow which should get you going in no time.

Using GitHub Issues

  1. Feel free to use GitHub issues for questions, bug reports, and feature requests
  2. Use the search feature to check for an existing issue Include as much information as possible and provide any relevant resources (Eg. screenshots)

Created & Maintained By

Mani Kiran | @nmanikiran

Feel free to reach out to me through @nmanikiran if you have any questions or feedback! ๐Ÿ˜Š

playwright-demos's People

Contributors

nmanikiran avatar curioustushar avatar

Stargazers

Roman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.