Giter Club home page Giter Club logo

try-browserless's Introduction

Try Browserless

Playground for Puppeteer. Run scripts, preview live, share with others.

This project is inspired by the browserless/debugger project. If your only use is debugging, browserless/debugger might be a better option.

This project works with browserless.io.

Coding Environment

Your code runs inside a Worker. Using the latest version 14.3.0 of puppeteer-core which supports the web version.

To make it easier for you, the browser is opened first, then the page is created and the page class is given to you, and the browser is automatically closed when your code is complete.

The following example occurs when you first open the page:

await page.goto("https://browserless.io")

const title = await page.title()

console.log(title)

When you press the Run button, it turns into this:

+ const browser = await puppeteer.launch();
+ const page = await browser.newPage();

await page.goto("https://browserless.io");
const title = await page.title();
console.log(title);

+ await browser.close();

It uses monaco editor as editor. This way it includes autocomplete support for puppeteer.

There are a few snippets in the editor. Type the abbreviation and select it with tab, enter or mouse.

logconsole.log

gopage.goto

evpage.evaluate

sspage.screenshot

From the options menu you can simulate a device and preview your operation live.

Contributing

Contributing

License

License

try-browserless's People

Contributors

cemalgnlts avatar

Stargazers

 avatar  avatar  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.