How to use mobile emulation to test on view ports in Specflow?

How to use mobile emulation to test on view ports in Specflow?

Hi Noah Smith,

To use mobile emulation to test on view port in Specflow, you need to use the below command

driver = self.CreateDriver(
        mobile_emulation = {
            'deviceMetrics': {'width': 360, 'height': 640, 'pixelRatio': 3}})