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

com.fastchar.selenium.FastSeleniumConfig Maven / Gradle / Ivy

package com.fastchar.selenium;

import com.fastchar.interfaces.IFastConfig;

/**
 * @author 沈建(Janesen)
 * @date 2021/10/12 10:36
 */
public class FastSeleniumConfig implements IFastConfig {

    private String chromeDriverPath;//谷歌浏览器驱动的地址

    public String getChromeDriverPath() {
        return chromeDriverPath;
    }

    public FastSeleniumConfig setChromeDriverPath(String chromeDriverPath) {
        this.chromeDriverPath = chromeDriverPath;
        System.setProperty("webdriver.chrome.driver", chromeDriverPath);
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy