com.clarolab.selenium.pages.browser.BrowserBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pages-framework Show documentation
Show all versions of pages-framework Show documentation
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;
}
}