All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.applitools.eyes.selenium.SeleniumJavaScriptExecutor Maven / Gradle / Ivy

The newest version!
package com.applitools.eyes.selenium;

import com.applitools.eyes.IEyesJsExecutor;
import com.applitools.eyes.selenium.wrappers.EyesWebDriver;

public class SeleniumJavaScriptExecutor implements IEyesJsExecutor {

    private final EyesWebDriver driver;

    public SeleniumJavaScriptExecutor(EyesWebDriver driver) {
        this.driver = driver;
    }

    @Override
    public Object executeScript(String script, Object... args) {
        return this.driver.executeScript(script, args);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy