Giter Club home page Giter Club logo

chromesmith's People

Contributors

andrewvy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

opallabs garrinmf

chromesmith's Issues

Add Network.AllEventsSettled API

This is useful for screenshot use-cases, where we want to load a page but only take a screenshot until all resources have finished loading.

This can be achieved by listening to all network events for a page to know when requests have settled.

Pool Management

There are a couple meanings to pooling, there's pooling of separate chrome processes, as well as pooling of targets within a single headless chrome process.

Some questions:

  • Is there a benefit over single vs. multiple headless chrome instances?
  • And off that fact, aren't pages/targets sandboxed in their own OS process?

Higher-level DSL

While low-level API provided by CDP is available throughchrome-remote-interface, it may be nice to develop a higher-level DSL for common workflows. (Clicking elements, etc.)

Multiple Pools + Port Collision

Right now, each chrome instance will start its remote debugger port on 9222 + index. This will cause problems if there are multiple Chromesmith pools.

Looks like we will have to implement some sort of random port finder.

Chrome process metrics tracking

I think it would be very nice to be able to get the resource usage of the chrome instances. If we implement an interface for this in chrome-launcher, we will have to add support for our pooling system to be able to manage multiple instances and grab their metrics in a timely way.

User Profiles

Chromesmith should utilize user profiles to sandbox/clean-up between pages and sessions.

GenStage Management

One of the goals of this library is to also expose GenStage functionality, batteries-included to load balance across the pool of processes + pages. This functionality is not required and is one of the tools available for developers to build their workflows.

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.