Class 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.When
      • Nested classes/interfaces inherited from interface org.openqa.selenium.HasDownloads

        org.openqa.selenium.HasDownloads.DownloadedFile
      • Nested 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
    • Method Summary

      • Methods inherited from class org.openqa.selenium.chrome.ChromeDriver

        builder
      • Methods inherited from class org.openqa.selenium.chromium.ChromiumDriver

        deleteNetworkConditions, executeCdpCommand, executeScript, getCapabilities, getCastIssueMessage, getCastSinks, getNetworkConditions, getPinnedScripts, launchApp, maybeGetBiDi, maybeGetDevTools, onLogEvent, pin, quit, register, selectCastSink, setFileDetector, setNetworkConditions, setPermission, startDesktopMirroring, startTabMirroring, stopCasting, unpin
      • Methods inherited from class org.openqa.selenium.remote.RemoteWebDriver

        addVirtualAuthenticator, close, deleteDownloadableFiles, downloadFile, execute, execute, execute, executeAsyncScript, executeScript, findElement, findElements, findElements, get, getCommandExecutor, getCurrentUrl, getDownloadableFiles, getDownloadedFiles, getElementConverter, getErrorHandler, getExecuteMethod, getFederatedCredentialManagementDialog, getFileDetector, getPageSource, getScreenshotAs, getSessionId, getTitle, getWindowHandle, getWindowHandles, isDownloadsEnabled, log, manage, navigate, network, perform, print, removeVirtualAuthenticator, resetCooldown, resetInputState, script, setCommandExecutor, setDelayEnabled, setElementConverter, setErrorHandler, setFoundBy, setLogLevel, setSessionId, startSession, switchTo, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.openqa.selenium.HasAuthentication

        register
      • Methods inherited from interface org.openqa.selenium.bidi.HasBiDi

        getBiDi
      • Methods inherited from interface org.openqa.selenium.devtools.HasDevTools

        getDevTools
      • Methods inherited from interface org.openqa.selenium.HasDownloads

        requireDownloadsEnabled
    • Constructor Detail

      • 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)