How to use the @applitools/eyes-selenium.Configuration function in @applitools/eyes-selenium

To help you get started, we’ve selected a few @applitools/eyes-selenium examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github intuit / proof / plugins / applitools / src / main.ts View on Github external
private async createApplitoolsInstance(
    testArgs: TestHookArgs
  ): Promise {
    const eyes = new Eyes(new VisualGridRunner(3));
    const configuration = new Configuration();

    configuration.setAppName('Proof');
    configuration.setTestName('WebdriverIO Visual Grid');

    const browserConfig = this.options.configure || defaultConfigure;

    browserConfig(configuration);

    // Settings
    configuration.setApiKey(this.appSDKID!);
    configuration.setForceFullPageScreenshot(true);
    configuration.setHideScrollbars(true);
    configuration.stitchMode = 'CSS';
    eyes.setConfiguration(configuration);

    if (!this.commonBatchInfo) {

@applitools/eyes-selenium

Applitools Eyes SDK for Selenium WebDriver

SEE LICENSE IN LICENSE
Latest version published 17 days ago

Package Health Score

68 / 100
Full package analysis