The browser section in your Momentic project configuration file allows you to set default browser settings for all tests in the project. Individual tests may still override this setting in their test options. Currently, the only supported keys are localChromeExtensionPaths and disableGpu.

Example

momentic.config.yaml
name: example-project
[...]
browser:
  # Whether to disable intensive graphical operations, such as web GL and rasterization with hardware acceleration. This can significantly increase performance.
  disableGpu: true
  # An array of paths to unpacked Chrome extensions accessible on the local machine. These extensions will be loaded onto the browser before the test begins.
  localChromeExtensionPaths:
    - /tmp/eimadpbcbfnmbkopoojfekhnkhdbieeh
    - /tmp/bcjindcccaagfpapjjmafapmmgkkhgoa

Was this page helpful?