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

com.clarolab.selenium.pages.browser.BrowserBuilder Maven / Gradle / Ivy

Go to download

Framework for automated testing using Selenium. Provides easy configuration of WebDrivers with BrowserFactory. Provides a Page abstraction.

The newest version!
package com.clarolab.selenium.pages.browser;

import java.util.Optional;
import java.util.logging.Level;

public class BrowserBuilder {
    private Optional browserLocale = Optional.empty();
    private Optional startWindowWidth = Optional.empty();
    private Optional startWindowHeight = Optional.empty();
    private Optional browserLogLevel = Optional.empty();
    private Optional browserLogFile = Optional.empty();

    public Optional getBrowserLocale() {
        return browserLocale;
    }
    public Optional getStartWindowWidth() {
        return startWindowWidth;
    }
    public Optional getStartWindowHeight() {
        return startWindowHeight;
    }
    public Optional getBrowserLogLevel() {
        return browserLogLevel;
    }
    public Optional getBrowserLogFile() {
        return browserLogFile;
    }

    public void setBrowserLocale(Optional browserLocale) {
        this.browserLocale = browserLocale;
    }

    public void setStartWindowWidth(Optional startWindowWidth) {
        this.startWindowWidth = startWindowWidth;
    }

    public void setStartWindowHeight(Optional startWindowHeight) {
        this.startWindowHeight = startWindowHeight;
    }

    public void setBrowserLogLevel(Optional browserLogLevel) {
        this.browserLogLevel = browserLogLevel;
    }

    public void setBrowserLogFile(Optional browserLogFile) {
        this.browserLogFile = browserLogFile;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy