Comments (8)
Other browsers support WebDriver instead of puppeteer for browser control, so I believe it's theoretically possible with some extra glue.
from carlo.
Behold the next generation of puppeteer. Works with all major browsers, and has more features. @piranna
https://github.com/microsoft/playwright
from carlo.
It use Puppeteer so I don't think they can support others browsers than Chrome :(
from carlo.
@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.
This is a future solution for Firefox :
https://github.com/GoogleChrome/puppeteer/tree/master/experimental/puppeteer-firefox#readme
from carlo.
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.
The other browsers would have to implement puppeteer for this to work. Until then, I think this will be labeled as wontfix
.
from carlo.
@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)
- Using Chrome executable from puppeteer HOT 6
- hot reload? HOT 3
- carlo will not launch on win10 HOT 2
- Steps towards implementing require() in Carlo HOT 12
- Notification.onclick() doesn't seem to work HOT 2
- can i use carlo as puppeteer ? is there any example?
- Keyboard's shortcuts are always mapped in QWERTY
- Problem loading next.js statically exported site
- carlo Remote devices, the inspect button is disabled
- How to make localhost node-GraphQL request from index.html?
- Use Carlos as a communication channel b/w Chrome and Electron
- createWindow fails silently when invalid args are provided
- `serveFolder` doesn't work with spaces in file names
- File picker with input tag crashes application
- Is this unmaintained ? HOT 7
- Exit the process directly when failed to found `chrome`?
- Chrome takes 6s to load when not specifying executable path
- The packed executable file cannot work
- Why the bundle package size is so large? HOT 1
- Dead?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carlo.