Why it matters
- Your users don’t all use Chrome. On phones, Safari has a huge share in many countries (every iPhone user has it), and Samsung Internet comes preinstalled on millions of Galaxy phones.
- Browser bugs hit whole groups of people. If checkout fails in Safari, it fails for every iPhone user, which can be a third or more of your customers.
- Developers usually work in one browser. Most front-end code is written and checked in Chrome. Testers are often the first people to open it anywhere else.
- The bugs are invisible in “your” browser. You can’t find a Safari-only bug by testing harder in Chrome.
Cross-browser testing is one part of compatibility testingCompatibility testingChecking the product works across different devices, OS versions, browsers and screen sizes.Open in glossary →, which also covers devices, OS versions and screen sizes. (Screen sizes get their own lesson: Responsive Design Testing.)
Browsers vs rendering engines
A browser is the app you open: Chrome, Safari, Edge. Inside every browser is a rendering engineRendering engineThe part of a browser that turns HTML and CSS into what you see: Blink, WebKit or Gecko.Open in glossary → that turns HTML and CSS into pixels, plus a JavaScript engine that runs the scripts. There are many browsers, but only three engines that matter today:
| Engine | Made by | Browsers that use it | JavaScript engine |
|---|---|---|---|
| Blink (Chromium) | Google + others | Chrome, Edge, Opera, Samsung Internet, Brave, Vivaldi | V8 |
| WebKit | Apple | Safari on Mac, iPhone and iPad, plus every other browser on iOS | JavaScriptCore |
| Gecko | Mozilla | Firefox (on desktop and Android) | SpiderMonkey |
What this means for your testing:
- Browsers that share an engine mostly behave the same. If it works in Chrome, it very likely works in Edge and Opera.
- “Mostly” isn’t “always”. Samsung Internet is based on Chromium, but it is often several versions behind Chrome, and it adds its own features (like a content blocker and its own dark mode).
- The real differences are between engines. A good minimum set covers all three: a Chromium browser, Safari (WebKit) and Firefox (Gecko).
Check this part
A page works in Chrome on Android but a button is broken in Chrome on iPhone. Which browser should you also check first?
Which pair of browsers shares the same rendering engine?