Project configuration
Browser settings
Configure default browser settings at the project level
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 supported keys are:
localChromeExtensionPaths
: An array of paths to unpacked Chrome extensions on the local disk. These extensions will be loaded onto the browser before the test begins.disableGpu
: Whether to disable intensive graphical operations, such as web GL and rasterization with hardware acceleration. This can significantly increase performance, however some graphics libraries may require it.pageLoadTimeoutMs
: Override the default page load timeout in milliseconds. Individual tests can still override this setting.ignoreHrefForCaching
: Ignore thehref
attribute when determining whether cache entries can be reused for<a>
elements. This can greatly improve speed for sites that use auto-generated or dynamic links.href
attributes are only ignored if the<a>
element has some text content (either as a direct child or in some nested element).
Example
momentic.config.yaml