Live data from Hacker News

Prototype: Puppeteer for Firefox

github.com

11–20 of 133 posts

Re: Prototype: Puppeteer for Firefox

#12
post #11
post #10

Earlier quoted context omitted.

*people who still use Chrome.

Uh? http://gs.statcounter.com/browser-market-share/desktop/world...

Interesting, I thought Firefox usage would be increasing based on all the hype/people converting on HN/other tech websites but the market share is actually falling. Guess it puts into perspective the size of that cohort compared to the rest of the world.

Re: Prototype: Puppeteer for Firefox

#13
post #4

is there a benefit to using firefox with puppeteer compared to chromium and puppeteer? or is it just a matter of choice and being able to also use firefox for automated testing?

I run integration tests in Ruby on Rails with Capybara using both the Chrome and Firefox drivers. That project was stopped for a while and when I went back to it the Firefox driver didn't work anymore. I didn't have the time to check what went wrong and fix it but I'm developing with Firefox anyway. I think it's important to test with the major browsers. My customer didn't ask about IE. I remember when I had a few VMs for that and its incompatible version tied to a specific version of Windows.

Re: Prototype: Puppeteer for Firefox

#16
post #11

Earlier quoted context omitted.

Uh? http://gs.statcounter.com/browser-market-share/desktop/world...

Interesting, I thought Firefox usage would be increasing based on all the hype/people converting on HN/other tech websites but the market share is actually falling. Guess it puts into perspective the size of that cohort compared to the rest of the world.

After Firefox broke most extensions with their removal of XUL extensions and embrace of "WebExtensions" (aka Chrome extensions), it lost a major differentiation point from Chrome. People simply have no (immediate, practical) reason to use Firefox.

Back in the Mozilla days i was using Mozilla because it was very powerful and flexible despite being very slow (i remember watching Mozilla 0.6's dialog boxes draw themselves) and many pages didn't work with it because everyone only cared about IE (...and i'd put the RIIR crowd to shame with my "evangelization" :-P). Nowadays i use Firefox mainly out of inertia.

Perhaps if Google disables most of the stuff adblockers rely on, there will be again a reason to use Firefox.

Re: Prototype: Puppeteer for Firefox

#17
post #15

For automated testing, why Puppeteer instead of Selenium?

Much better access to low-level information. You can hook (and mock) requests, see what POST data was sent and basically do lots of magic. Also, my experience with Selenium under Python is that doing anything bigger quickly turns into one giant timing hack.
Post reply on HN