OnePlus 3 & Oneplus 5 viewport size for chrome Emulated Devices

5.8k Views Asked by At

I wanted to add OnePlus 3 and OnePlus 5 as custom devices in the emulated devices list of Google Chrome. Please provide the viewport size so that I can test my website with it.

Example for pixel 2 display dimentions

emulator

Thanks in Advance

3

There are 3 best solutions below

1
On

I was searching for the same thing and I found this: https://www.mydevice.io/

OnePlus 5: 455x809, pixel ratio 2.375, user agent Mozilla/5.0 (Linux; Android 8.1.0; Build/OPM1.171019.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36

I don't have an OnePlus 3 and I didn't found anything related.

2
On

OnePlus 3: 412x732, pixel ratio: 2.625

0
On

The OnePlus 3 uses a 346x535. Not a standard one as far as I can see, with all the consequences it brings in.