Skip to content

e2e tests: clicks are not working when using mobileOptions capabilities #2309

Closed
@tbosch

Description

@tbosch

Calls to browser.click() are doing nothing when I run benchmarks / e2e tests using protractor and have the capabilities below. There are no errors in the browser log, clicking on the buttons manually works, and removing the mobileEmulation entry from the capabilities also makes the tests work again.

This is probably a bug in chromedriver, but needs more investigation and a simple reproduction case to file an issue there.

{
  browserName: 'chrome',
  chromeOptions: {
    'mobileEmulation':   {
      'deviceMetrics': {
        'width': 600,
        'height': 960,
        'pixelRatio': 2
      }
    }
  }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions