I'm trying to see if I can run my TestCafe cases in Headless Chrome browser using emulator device. I followed the instructions from TestCafe doc and I wasn't successful in it. (https://testcafe.io/documentation/402828/guides/concepts/browsers#use-emulation-in-headless-mode)
Below is the command I tried to use to run the same testcafe "chrome:headless:emulation:device=iphone X" ./tests/ --test-meta tags=Core
Actual - When I ran this command, the chrome headless browser was launched without the emulator. And the XPATH was failing since it wasn't the emulator.
Could anyone please let me know how to handle this?