Uses of Class
com.microsoft.playwright.BrowserType.LaunchOptions
Packages that use BrowserType.LaunchOptions
-
Uses of BrowserType.LaunchOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return BrowserType.LaunchOptionsModifier and TypeMethodDescriptionAdditional arguments to pass to the browser instance.BrowserType.LaunchOptions.setChannel(BrowserChannel channel) Deprecated.BrowserType.LaunchOptions.setChannel(String channel) Browser distribution channel.BrowserType.LaunchOptions.setChromiumSandbox(boolean chromiumSandbox) Enable Chromium sandboxing.BrowserType.LaunchOptions.setDevtools(boolean devtools) **Chromium-only** Whether to auto-open a Developer Tools panel for each tab.BrowserType.LaunchOptions.setDownloadsPath(Path downloadsPath) If specified, accepted downloads are downloaded into this directory.Specify environment variables that will be visible to the browser.BrowserType.LaunchOptions.setExecutablePath(Path executablePath) Path to a browser executable to run instead of the bundled one.BrowserType.LaunchOptions.setFirefoxUserPrefs(Map<String, Object> firefoxUserPrefs) Firefox user preferences.BrowserType.LaunchOptions.setHandleSIGHUP(boolean handleSIGHUP) Close the browser process on SIGHUP.BrowserType.LaunchOptions.setHandleSIGINT(boolean handleSIGINT) Close the browser process on Ctrl-C.BrowserType.LaunchOptions.setHandleSIGTERM(boolean handleSIGTERM) Close the browser process on SIGTERM.BrowserType.LaunchOptions.setHeadless(boolean headless) Whether to run browser in headless mode.BrowserType.LaunchOptions.setIgnoreAllDefaultArgs(boolean ignoreAllDefaultArgs) Iftrue, Playwright does not pass its own configurations args and only uses the ones fromargs.BrowserType.LaunchOptions.setIgnoreDefaultArgs(List<String> ignoreDefaultArgs) Iftrue, Playwright does not pass its own configurations args and only uses the ones fromargs.Network proxy settings.Network proxy settings.BrowserType.LaunchOptions.setSlowMo(double slowMo) Slows down Playwright operations by the specified amount of milliseconds.BrowserType.LaunchOptions.setTimeout(double timeout) Maximum time in milliseconds to wait for the browser instance to start.BrowserType.LaunchOptions.setTracesDir(Path tracesDir) If specified, traces are saved into this directory.Methods in com.microsoft.playwright with parameters of type BrowserType.LaunchOptionsModifier and TypeMethodDescriptionBrowserType.launch(BrowserType.LaunchOptions options) Returns the browser instance. -
Uses of BrowserType.LaunchOptions in com.microsoft.playwright.impl
Fields in com.microsoft.playwright.impl declared as BrowserType.LaunchOptionsModifier and TypeFieldDescription(package private) BrowserType.LaunchOptionsBrowserImpl.launchOptionsMethods in com.microsoft.playwright.impl with parameters of type BrowserType.LaunchOptionsModifier and TypeMethodDescriptionBrowserTypeImpl.launch(BrowserType.LaunchOptions options) private BrowserImplBrowserTypeImpl.launchImpl(BrowserType.LaunchOptions options)