jeudi 29 juin 2017

Protractor in headless chrome doesn't execute browser.actions()

My protractor.conf.js(relevant parts)

  capabilities: {
    'browserName': 'chrome',
    'chromeOptions': {
      'args': ['headless', 'disable-gpu']
    }
  }

If i run protractor in normal mode all tests passing. As well as if i replace this piece of code with just map.click().

  browser.actions()
  .mouseDown()
  .mouseMove(map, {x: 500, y: 150})
  .click()
  .mouseDown()
  .perform();

Aucun commentaire:

Enregistrer un commentaire