Solution 1:

Was just digging around in firefox and found that it also has a "Responsive design" mode. Go to Web DeveloperResponsive Design View.

enter image description here

You'll get a dropdown with preset resolutions afterwards:

enter image description here

Solution 2:

This is actually a built-in feature in Chrome.

  1. Open the DevTools (F12)

  2. Open the Settings

    enter image description here

  3. Set the size you want for your window in the Overrides panel.

    enter image description here

Note: When selecting a User Agent in that panel, Chrome will automatically try to pick the correct device metrics for the selected agent.

Solution 3:

For Chrome you can use Window Resizer. Fore Firefox, you can use Firesizer.