Package org.zkoss.test.webdriver
Class ChromiumHeadlessDriver
java.lang.Object
org.openqa.selenium.remote.RemoteWebDriver
org.openqa.selenium.chromium.ChromiumDriver
org.openqa.selenium.chrome.ChromeDriver
org.zkoss.test.webdriver.ChromiumHeadlessDriver
- All Implemented Interfaces:
org.openqa.selenium.bidi.HasBiDi,org.openqa.selenium.chromium.HasCasting,org.openqa.selenium.chromium.HasCdp,org.openqa.selenium.chromium.HasLaunchApp,org.openqa.selenium.chromium.HasNetworkConditions,org.openqa.selenium.chromium.HasPermissions,org.openqa.selenium.devtools.HasDevTools,org.openqa.selenium.federatedcredentialmanagement.HasFederatedCredentialManagement,org.openqa.selenium.HasAuthentication,org.openqa.selenium.HasCapabilities,org.openqa.selenium.HasDownloads,org.openqa.selenium.interactions.Interactive,org.openqa.selenium.JavascriptExecutor,org.openqa.selenium.logging.HasLogEvents,org.openqa.selenium.PrintsPage,org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.virtualauthenticator.HasVirtualAuthenticator,org.openqa.selenium.WebDriver
public class ChromiumHeadlessDriver
extends org.openqa.selenium.chrome.ChromeDriver
A local running Chromium ChromeDriver. By default it runs in headless mode.
- Author:
- rudyhuang
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openqa.selenium.remote.RemoteWebDriver
org.openqa.selenium.remote.RemoteWebDriver.RemoteTargetLocator, org.openqa.selenium.remote.RemoteWebDriver.RemoteWebDriverOptions, org.openqa.selenium.remote.RemoteWebDriver.WhenNested classes/interfaces inherited from interface org.openqa.selenium.HasDownloads
org.openqa.selenium.HasDownloads.DownloadedFileNested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window -
Field Summary
Fields inherited from class org.openqa.selenium.chromium.ChromiumDriver
casting, cdp, IS_CHROMIUM_BROWSER -
Constructor Summary
ConstructorsConstructorDescriptionChromiumHeadlessDriver(boolean headless) ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeDriverService service) ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeDriverService service, org.openqa.selenium.chrome.ChromeOptions options) ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeDriverService service, org.openqa.selenium.chrome.ChromeOptions options, boolean headless) ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeOptions options) ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeOptions options, boolean headless) -
Method Summary
Methods inherited from class org.openqa.selenium.chrome.ChromeDriver
builderMethods inherited from class org.openqa.selenium.chromium.ChromiumDriver
deleteNetworkConditions, executeCdpCommand, executeScript, getCapabilities, getCastIssueMessage, getCastSinks, getNetworkConditions, getPinnedScripts, launchApp, maybeGetBiDi, maybeGetDevTools, onLogEvent, pin, register, selectCastSink, setFileDetector, setNetworkConditions, setPermission, startDesktopMirroring, startTabMirroring, stopCasting, unpinMethods inherited from class org.openqa.selenium.remote.RemoteWebDriver
addVirtualAuthenticator, close, deleteDownloadableFiles, downloadFile, execute, execute, execute, executeAsyncScript, executeScript, findElement, findElements, findElements, fireSessionEvent, fireSessionEvent, get, getClientConfig, getCommandExecutor, getCurrentUrl, getDownloadableFiles, getDownloadedFiles, getElementConverter, getErrorHandler, getExecuteMethod, getFederatedCredentialManagementDialog, getFileDetector, getPageSource, getScreenshotAs, getSessionId, getTitle, getWindowHandle, getWindowHandles, isDownloadsEnabled, log, manage, navigate, network, perform, print, quit, removeVirtualAuthenticator, resetCooldown, resetInputState, script, setCommandExecutor, setDelayEnabled, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startSession, switchTo, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openqa.selenium.HasAuthentication
registerMethods inherited from interface org.openqa.selenium.bidi.HasBiDi
getBiDiMethods inherited from interface org.openqa.selenium.devtools.HasDevTools
getDevToolsMethods inherited from interface org.openqa.selenium.HasDownloads
requireDownloadsEnabled
-
Constructor Details
-
ChromiumHeadlessDriver
public ChromiumHeadlessDriver() -
ChromiumHeadlessDriver
public ChromiumHeadlessDriver(boolean headless) -
ChromiumHeadlessDriver
public ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeOptions options) -
ChromiumHeadlessDriver
public ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeOptions options, boolean headless) -
ChromiumHeadlessDriver
public ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeDriverService service) -
ChromiumHeadlessDriver
public ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeDriverService service, org.openqa.selenium.chrome.ChromeOptions options) -
ChromiumHeadlessDriver
public ChromiumHeadlessDriver(org.openqa.selenium.chrome.ChromeDriverService service, org.openqa.selenium.chrome.ChromeOptions options, boolean headless)
-