News for hackers. Stuff that matters.
Re:Show HN: Browsh – A modern, text-based browser by tombh on Tuesday July 10, 2018 @04:48AM (#17496344)
I've thought of that too. The trouble is that Browsh's text renderer is more of a science than an art. It's quite hard to actually get a guarantee of the same text twice, which is a pretty important condition of testing.

But yes, I'd love for Browsh to be used in such a way!

Re:Show HN: Browsh – A modern, text-based browser by annabellish on Tuesday July 10, 2018 @11:13AM (#17498779)
As an anecdote, somebody at my workplace has just spent a day tearing their hair out trying to figure out how to get our selenium tests running automatically on a headless machine, because the resolution flat refused to go above 1024x768. Even then, they're slow and heavyweight.

A very fast browser not tied to a graphical display with the bonus of being able to put error screenshots into all of our existing tooling could actually be quite beneficial here, whether the text is character-identical every time or not.

Re:Show HN: Browsh – A modern, text-based browser by michaelmior on Tuesday July 10, 2018 @12:02PM (#17499280)
Since browsh requires Firefox so I'm not sure you'd really get much of a speed benefit over Selenium
Re:Show HN: Browsh – A modern, text-based browser by brlewis on Tuesday July 10, 2018 @08:18AM (#17497357)
Guaranteeing the same text twice might not be so important. There are pixel comparison testing tools for popular browsers. Your advantage is probably speed. Would cypress end-to-end tests run way faster in Browsh than in a graphical browser? If so, you've got something of value to big companies. You might want to partner with or contract for Cypress.

EDIT: Since Browsh depends on Firefox I'm curious whether it's actually faster than a graphical browser.

Re:Show HN: Browsh – A modern, text-based browser by JadeNB on Thursday July 12, 2018 @02:23PM (#17517256)
> more of a science than an art.

Given the rest of your sentence, I think you mean the opposite.

Re:Show HN: Browsh – A modern, text-based browser by tombh on Friday July 13, 2018 @01:04AM (#17520641)
oops, yeah