Recently I started with Chimp and my test suite is growing. I want to implement a feature that I need to run on a mobile viewport specifically (e.g. to test Hamburger menu). I tag such a scenario with the @mobile tag.
Chimp is by default running in the Chrome webdriver at a resolution of half my desktop screen (931x1013px in my case) but I want it to run in e.g. 640x960 phone resolution).
I know I can configure my Chimp session using a configuration file, but I cannot find the setting that controls the browser resolution for my Chrome instance. I found a phantom_w / phantom_h setting but appears to be unrelated to the Chrome webdriver.
How can I force my Chrome webdriver to run at a specific resolution? Can I configure Chimp to do so, perhaps via the desiredCapabilities - but how?
Note: I'm using Node 6.4, NPM 3.10.5 and Chimp 0.34 and this works fine for all features so far.