Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 614 Bytes

File metadata and controls

35 lines (23 loc) · 614 Bytes

jest-environment-headlesswebdriver

Jest environment with extra options available

This package can use to set jest environment easily and able to configure extra options.

Jest testEnvironmentOptions

*Example: *

testEnvironmentOptions: {
    browser: 'chrome',
    chromeArgs: [
        'no-sandbox',
        'headless',
        'disable-gpu',
        '--window-size=1920,1080'
    ],
  },

Options of Browsers

  • chrome
  • firefox
  • ie
  • edge

Args for Browsers Driver

Check on this page