Skip to main content Accessibility Feedback

How to test JavaScript cross-browser

I have a confession to make. I don’t actually test my JavaScript across browsers all that much.

Instead, I rely on a mix of feature detection and polyfills to progressively enhance JavaScript features on my sites and apps.

That said, every now and then I do need to figure out why something is acting weird in one specific browser or device.

And for that, I use BrowserStack. It let’s you test webpages in real browsers on real devices, and makes the whole thing super easy.

It’s a bit pricey, so I often spin it up for just a month as needed. They also offer a free trial.

Check it out.