How to use @applitools/eyes-selenium - 3 common examples

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) {
github intuit / proof / plugins / applitools / src / main.ts View on Github external
function defaultConfigure(configuration: Configuration) {
  configuration.addBrowser(1440, 800, BrowserType.CHROME);
  configuration.addBrowser(1024, 900, BrowserType.CHROME);
  configuration.addBrowser(768, 900, BrowserType.CHROME);
  configuration.addBrowser(320, 900, BrowserType.CHROME);
}
github intuit / proof / plugins / applitools / src / main.ts View on Github external
function defaultConfigure(configuration: Configuration) {
  configuration.addBrowser(1440, 800, BrowserType.CHROME);
  configuration.addBrowser(1024, 900, BrowserType.CHROME);
  configuration.addBrowser(768, 900, BrowserType.CHROME);
  configuration.addBrowser(320, 900, BrowserType.CHROME);
}

@applitools/eyes-selenium

Applitools Eyes SDK for Selenium WebDriver

SEE LICENSE IN LICENSE
Latest version published 4 days ago

Package Health Score

68 / 100
Full package analysis