firefox.js 540 B

12345678910111213141516171819202122232425
  1. 'use strict'
  2. /* eslint-disable jsdoc/valid-types */
  3. /** @type WebdriverIO.Config */
  4. const config = {
  5. hostname: 'geckodriver',
  6. capabilities: [
  7. {
  8. // geckodriver supports no parallel sessions:
  9. maxInstances: 1,
  10. browserName: 'firefox',
  11. 'moz:firefoxOptions': {
  12. //args: ['-headless', '--window-size=1440,900']
  13. }
  14. }
  15. ],
  16. videos: {
  17. enabled: true,
  18. resolution: '1440x900',
  19. startDelay: 500,
  20. stopDelay: 500
  21. }
  22. }
  23. exports.config = Object.assign({}, require('./chrome').config, config)