8

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

John Enosh
  • 111
  • 1
  • 6
  • I don't understand the downvotes, it's imo a valid question that has been asked before for other devices (example https://stackoverflow.com/questions/47552632/emulate-iphone-x-on-chrome?rq=1) – Pascal Goldbach Jul 09 '18 at 09:26

3 Answers3

9

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.

William Laszlo
  • 111
  • 1
  • 2
2

OnePlus 3: 412x732, pixel ratio: 2.625

  • On my OnePlus 3, I went to a website that confirms these dimensions. I haven't confirmed the pixel ratio. Here's a [screenshot](https://i.imgur.com/x8ZlYsH.jpg) of the dimensions. – Reed Dunkle May 17 '19 at 12:30
  • seems incorrect, checked on real device and in chrome with provided settings https://ibb.co/p3j4v0x – Bogdan Mart Apr 07 '20 at 11:20
0

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

Andrea Moro
  • 392
  • 1
  • 5
  • 18