Open Chromium, go to the website to test, then hit:

Ctrl+Shift+J
Ctrl+Shift+M

On Mac:

Command+Shift+J
Command+Shift+M

Then you can select your device, orientation, etc.