edge.js 580 B

1234567891011121314151617181920212223
  1. 'use strict'
  2. /* eslint-disable jsdoc/valid-types */
  3. /** @type WebdriverIO.Config */
  4. const config = {
  5. hostname: process.env.WINDOWS_HOST || 'host.docker.internal',
  6. capabilities: [
  7. {
  8. // Set maxInstances to 1 if screen recordings are enabled:
  9. // maxInstances: 1,
  10. browserName: 'MicrosoftEdge'
  11. }
  12. ],
  13. videos: {
  14. enabled: false,
  15. inputFormat: 'mjpeg',
  16. startDelay: 500,
  17. stopDelay: 500
  18. },
  19. assetsDir: process.env.WINDOWS_ASSETS_DIR || process.env.MACOS_ASSETS_DIR
  20. }
  21. exports.config = Object.assign({}, require('./chrome').config, config)