There are numerous examples that "the better product" has nothing to do with market success.

When Apple came out with the GUI for the masses, it was lightyears ahead of everything MS offered at that time (which MS admitted by making a third-class copy of it called Windows)
Did Betamax win against VHS. Does anybody talk about the "better product" when it comes to Blue-Ray vs. HD DVD?

Your logic also neglects the fact that there were more than just two browsers..