jeudi 4 août 2016

Is it possible to run chrome in mobile emulation mode with Selenium Server with InternJS

I am trying to run Intern JS functional test-cases using local Selenium server. I am trying to run the test cases with chrome in mobile emulated mode. But, I am not able to figure out the right configuration.

I have tried using this environment.

environments: [ { browserName: 'chrome'} , 'mobileEmulation': { "deviceName": "Google Nexus 5", "deviceMetrics": {'width': 360, 'height': 640, 'pixelRatio': 3}} } ],

Also, I have tried capabilities: { 'selenium-version': '2.53.1', 'idle-timeout': 30, "screen-resolution": "360x640" }

and

capabilities: { 'selenium-version': '2.53.1', 'idle-timeout': 30, 'mobileEmulationEnabled': true }

Is this even possible?

Aucun commentaire:

Enregistrer un commentaire