Back to all steps

Has meta viewport

Assert that <meta name="viewport"> tag is present in the page head (mobile-friendly).
Usage example

Check that the page <head> contains a <meta name="viewport"> tag. Without it, mobile browsers render the page in “desktop” mode with scaling down — the layout breaks.

No fields required.

Usually used together with setViewport 375|812 in mobile-responsiveness tests.