4 ms·
I'm currently using a headless Chrome for my latest project www.blockedby.com (still in alpha stage, looking for feedback) I've been looking at a non-local sol
by patd 8y ago
I'm currently using a headless Chrome for my latest project www.blockedby.com (still in alpha stage, looking for feedback)
I've been looking at a non-local solution. I'm using Python and this article hints that Puppeteer is not the only way to invoke this. But I don't see any documentation on the DevTools protocol.
Anyone knows if it's supported ? Or any providers that do ?
- anyzen 8y agoI'm not sure if this is what you are looking for, but I have been using headless Chrome through Selenium (using nightwatch.js) for some time now and it works great. You will probably need to rewrite your tests though, but they will support FF too. YMMV.
- transreal 8y agoYou should just need to get a handle on the host and port to use Devtools protocol to talk to the launcher headless chrome instance. If you use node.js to start it, you can get the port like this: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#browserwsendpoint https://github.com/GoogleChrome/puppeteer/blob/master/docs/a... Then you can use PyChromeDevtools to connect to that host/port: https://github.com/marty90/PyChromeDevTools/blob/master/README.md https://github.com/marty90/PyChromeDevTools/blob/master/READ...