How do I pass "mobile emulation" in Chrome options while running test on LambdaTest?

How do I pass “mobile emulation” in Chrome options while running test on LambdaTest? I am using JavaScript.

Hi Brett,

You can pass mobile emulation with chromeOptions like below:

 "chromeOptions": {
          "mobileEmulation": {
            "deviceName": "Galaxy Tab S4"
          }
      }