Hacker News new | ask | show | jobs
by bligh____ 3222 days ago
It would be cool if mozilla and google would standatalize the headless API and command line flags as llvm and gcc has done, so you would perform headless cross browser testing.
2 comments

FWIW, the most common cc command line flags on unix share a common lineage back to AT&T PCC compiler.

Which is not to say there is not common effort between the projects you mention now.

So something like Webdriver.io ?
Like that, but with documentation.
and that actually works. Using headless chrome with the direct API is so much more reliable than the selenium API.
The onus of who actually automates the browser is moving from Selenium (the open source project) to the browser vendors. This will help with reliability and is also exactly what you're asking for:

https://www.w3.org/TR/webdriver/

Right. That will be nice when it's done and stable (I'm looking at you, Safari), but for my tests today that doesn't really help me.
I would be very interested in tracking the details you're hinting at to know when this is done and stable to use reliably. Do you have specific examples/issues related to what your tests today require that is unreliable / not currently possible using WebDriver with Safari and/or headless Chrome?