Earlier quoted context omitted.
Online isn't real-life. You can test in a VM, but it will never be the same as testing on actual hardware. Even my craptastic company gives me a bunch of devices to test on. And I very deliberately specify very low-end versions of the machines so that I can test against worst-case-scenarios. It's a bonus that sub-optimal hardware is cheap as chips. My favorite testing device is a $20 burner phone I picked up in the s…
> Online isn't real-life. You can test in a VM, but it will never be the same as testing on actual hardware. Ths context is that testing is a solved problem. You are taking specific factual examples I wrote and attempting to debunk them with a general statement that is in agreement with what I wrote. Testing scrollbards can absolutely be tested inside a VM. Pretending that native hardware is needed to cover 99% of th…
The only problem that is solved is running multiple browsers in VMs in a cloud. Everything else is anyone's guess.
To come up with an automated test for the problem in the OP you have to be a) aware of the problem and b) have a way to test that scrollbars do/don't appear. Good luck with that.