GithubHelp home page GithubHelp logo

chrome-pool's People

Contributors

gwuhaolin avatar skellla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chrome-pool's Issues

release方法有问题

我起了一个web服务,创建了一个chromepool对象,在访问web服务的时候,生成tab和protocle,然后完成请求后,release掉,当我频繁访问web服务的时候,会有很大的几率有not open报错,如果我不release,就一切正常,这儿有个类似的bug
cyrus-and/chrome-remote-interface#189

MaxListenersExceededWarning

当我在centos7下面运行ChromePool.new()的时候,会报错:
(node:30838) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 101 chromeAlive listeners added. Use emitter.setMaxListeners() to increase limit
不管listenner数量设为多少,我发现listenner会一直增长直到报错,还有就是pool源代码里面执行到
chromePoll.chromeRunner = await launchChrome(Object.assign({}, chromeRunnerOptions, { port }));
就不执行了,看来是runner那边有bug

chrome-pool能支持多少tab?

我之前从 https://chromedevtools.github.io/devtools-protocol/ 看到:

Simultaneous protocol clients
We currently do not support multiple clients connected to the protocol simultaneously. This includes opening DevTools while another client is connected. On the bug tracker, crbug.com/129539 follows the issue; you can star it for email updates.

我的理解是一个headless chrome只能支持一个web socket client接入,理论上不可能控制多tab?

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.