Giter Site home page Giter Site logo

headless chrome about electron-render-service HOT 7 OPEN

msokk avatar msokk commented on May 29, 2024
headless chrome

from electron-render-service.

Comments (7)

msokk avatar msokk commented on May 29, 2024 1

I would want to maintain feature parity, otherwise one could just use headless CLI directly. waitForText is doable and exactly in the same way as in Electron - https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-searchInResource
Looks like we could add regexp support.

from electron-render-service.

msokk avatar msokk commented on May 29, 2024

If I have time, but it definitely would be a new project as I would:

The PDF options patch should get a code review tomorrow - https://codereview.chromium.org/2829973002/#ps20001

from electron-render-service.

burningTyger avatar burningTyger commented on May 29, 2024

Why do you want the remote interface for that? Just calling the headless chrome instance will spit out the pdf and that's it. Can be served right away without any intermediate scripts.

from electron-render-service.

msokk avatar msokk commented on May 29, 2024

Should drop waitForText parameter support then (and anything else that operates with page scripting).
Overall PDF generation is getting more trivial to tailor into one's microservice.

from electron-render-service.

burningTyger avatar burningTyger commented on May 29, 2024

You're right. Forgot about that. Things are getting very neat.

from electron-render-service.

p3k avatar p3k commented on May 29, 2024

I am an avid user of the waitForText option; if it would be dropped does that mean there is a replacement in headless Chrome or would it be simply gone, then?

from electron-render-service.

Reggino avatar Reggino commented on May 29, 2024

May be inspired by https://github.com/esbenp/pdf-bot

from electron-render-service.

Related Issues (20)

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.