GithubHelp home page GithubHelp logo

Allow other browsers about carlo HOT 8 OPEN

googlechromelabs avatar googlechromelabs commented on July 19, 2024 17
Allow other browsers

from carlo.

Comments (8)

fenwick67 avatar fenwick67 commented on July 19, 2024 4

Other browsers support WebDriver instead of puppeteer for browser control, so I believe it's theoretically possible with some extra glue.

from carlo.

sbhamad avatar sbhamad commented on July 19, 2024 3

Behold the next generation of puppeteer. Works with all major browsers, and has more features. @piranna

https://github.com/microsoft/playwright

from carlo.

KeziahMoselle avatar KeziahMoselle commented on July 19, 2024 2

It use Puppeteer so I don't think they can support others browsers than Chrome :(

from carlo.

fenwick67 avatar fenwick67 commented on July 19, 2024 2

@Xotabu4 Yes, webdriver is transactional HTTP, which will be slower than websockets for things like opening or moving a window (though I'm skeptical it would be perceptible in most cases, since it's all over loopback anyway).

But I think it should be possible to load some js into the window to handle websocket connections for more performance-critical RPC stuff, as long as the functionality could be done with the regular browser APIs.

from carlo.

KeziahMoselle avatar KeziahMoselle commented on July 19, 2024 2

This is a future solution for Firefox :
https://github.com/GoogleChrome/puppeteer/tree/master/experimental/puppeteer-firefox#readme

from carlo.

ab35 avatar ab35 commented on July 19, 2024 1

OS manufacturers should work on a browser shell standard common to all operating systems, because after all, all browsers do the same thing according to W3C standards.

So particular brands of browsers like Edge, Safari, Chrome, etc would all derive from a common standard shell present in all operating systems.

Then, users would just have to choose what browser brand they want to upgrade to / or there will be one brand by default installed along the shell in the particular OS (for example the Edge brand in windows OS).

This would allow to greatly reduce the internet bandwidth when acquiring and updating new browsers on an OS, and carlo apps wouldn't need to ship with chromium while still being compatible with all browser brands.

from carlo.

nklayman avatar nklayman commented on July 19, 2024

The other browsers would have to implement puppeteer for this to work. Until then, I think this will be labeled as wontfix.

from carlo.

Xotabu4 avatar Xotabu4 commented on July 19, 2024

@fenwick67 WebDriver is much slower because uses http REST, and Chrome Debug Protocol uses websockets. There will be higher latency. And WebDriver protocol does not have all the features of Chrome Debug Protocol (for example Network, Performance and other - https://chromedevtools.github.io/devtools-protocol/)

from carlo.

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.