io.github.l86400.component.selenium.starter.ChromeProperties Maven / Gradle / Ivy
package io.github.l86400.component.selenium.starter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
* @author 86400
* @since 2021/12/21 13:41
*/
@Data
@EqualsAndHashCode
@ToString
public class ChromeProperties {
/**
* 是否启用无头模式(后台允许)
*/
private boolean headless = false;
/**
* 是否禁用gpu加速
*/
private boolean disableGpb = false;
/**
* 加载图片
*/
private boolean loadImg = true;
/**
* --no-sandbox
*/
private boolean noSandbox = false;
/**
* 默认chrome 版本
*/
private String chromeVersion = "96";
}