What a browser can and cannot check
A website has less access than an app. Below is the list for iPhone and Android.
Touch grid, multitouch, ghost touches
On iPhone the strips under the Safari bars are not covered. Rotate the phone and repeat.
Dead pixels, stains, burn in
The page shows clean colours. A website cannot look at the screen, so the verdict is yours.
Speakers
Left, right and both channels. The earpiece cannot be selected from a web page.
Microphone
The page detects a signal and plays the recording back. You decide whether it sounds clean.
Cameras
Live preview from the main rear lens and the front camera. Other lenses need the camera app.
Flashlight
A button appears where the browser allows it. Otherwise use the quick settings panel.
Motion sensors
iPhone asks for motion access first.
Vibration
Safari on iPhone has no vibration access for websites. Flip the Ring/Silent switch, or press the Action button, and feel the buzz.
Charging
Chrome on Android reports when the cable is plugged in. Safari does not.
Buttons
Websites cannot read the volume and power buttons.
Account lock
Find My on iPhone and the Google account on Android. The seller signs out in front of you.
IMEI and blacklist
Dial *#06# and compare with the box. Blacklist status must be checked with a carrier.
Battery health
No browser can read battery wear. Look in the phone settings.
Model, screen resolution, cores, graphics chip
The page shows what the browser reports and you compare it with the listing. Chrome on Android gives the model name, iPhone gives less.
Screen refresh rate
Measured from the frames the browser draws in 2 seconds. Safari on iPhone usually limits pages to 60.
Line test
You draw diagonals, the page shows every point the screen reported and counts breaks.
GPS
The page shows the time to fix and the accuracy. Indoors Wi-Fi can give a precise fix even with a dead GPS chip, so you judge the result. Coordinates are not shown or stored.
Proximity and light sensors
Not available to websites. Check during a call.
Fingerprint and face unlock
A website can only learn that some screen lock exists. Add a fingerprint or a face in the settings to test the sensor.
Replaced parts and water damage
On iPhone look at Settings, General, About for the parts and service history.