### getStart Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/domsnapshot/TextBoxSnapshot.html Gets the starting index in characters for this post layout textbox substring. ```APIDOC ## getStart() ### Description Gets the starting index in characters for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2. ### Method `java.util.List getStart()` ### Returns A list of integers representing the starting index. ``` -------------------------------- ### start Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Starts trace events collection. ```APIDOC ## start() ### Description Starts trace events collection. ### Method Profiler.start ``` ```APIDOC ## start(String, String, Double, TransferMode, StreamCompression, TraceConfig) ### Description Starts trace events collection. ### Method Tracing.start ### Parameters #### Path Parameters - **String** (String) - Required - Description - **String** (String) - Required - Description - **Double** (Double) - Required - Description - **TransferMode** (TransferMode) - Required - Description - **StreamCompression** (StreamCompression) - Required - Description - **TraceConfig** (TraceConfig) - Required - Description ``` -------------------------------- ### Start Screencast Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Page.html Starts sending each frame using the `screencastFrame` event. Configure image format, quality, and dimensions. ```java void startScreencast​(ImageFormat format, java.lang.Integer quality, java.lang.Integer maxWidth, java.lang.Integer maxHeight, java.lang.Integer everyNthFrame) ``` -------------------------------- ### Start Trace Collection (Basic) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Tracing.html Starts trace events collection with default settings. Use this for simple tracing scenarios. ```java void end() ``` -------------------------------- ### Start Sampling Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Memory.html Starts collecting a native memory profile using default settings. Call this before analyzing memory usage over a period. ```java void startSampling() ``` -------------------------------- ### Get Installed Chromium Versions Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/ChromiumDownloader.html Lists all Chromium versions currently installed on the system. ```java public static java.util.List getInstalledVersions() ``` -------------------------------- ### startSampling Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/HeapProfiler.html Starts heap sampling. ```APIDOC ## startSampling samplingInterval ### Description Starts heap sampling with a specified interval. ### Method void ### Parameters #### Path Parameters - **samplingInterval** (java.lang.Double) - Optional - The sampling interval. ``` ```APIDOC ## startSampling ### Description Starts heap sampling. ### Method void ``` -------------------------------- ### startSampling Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Starts collecting native memory profile. ```APIDOC ## startSampling() ### Description Start collecting native memory profile. ### Method HeapProfiler.startSampling ``` ```APIDOC ## startSampling(Double) ### Description Start collecting native memory profile. ### Method HeapProfiler.startSampling ### Parameters #### Path Parameters - **Double** (Double) - Required - Description ``` ```APIDOC ## startSampling() ### Description Start collecting native memory profile. ### Method Memory.startSampling ``` ```APIDOC ## startSampling(Integer, Boolean) ### Description Start collecting native memory profile. ### Method Memory.startSampling ### Parameters #### Path Parameters - **Integer** (Integer) - Required - Description - **Boolean** (Boolean) - Required - Description ``` -------------------------------- ### startSampling (no parameters) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Memory.html Start collecting native memory profile. ```APIDOC ## startSampling ### Description Start collecting native memory profile. ### Method `void startSampling()` ``` -------------------------------- ### Start Trace Collection (Advanced) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Tracing.html Starts trace events collection with detailed configuration options. Specify categories, options, buffer interval, transfer mode, and compression. ```java void start​(java.lang.String categories, java.lang.String options, java.lang.Double bufferUsageReportingInterval, TransferMode transferMode, StreamCompression streamCompression, TraceConfig traceConfig) ``` -------------------------------- ### Memory.startSampling Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/annotation/class-use/Optional.html Start collecting native memory profile. ```APIDOC ## Memory.startSampling ### Description Start collecting native memory profile. ### Method `void` ### Parameters - **samplingInterval** (java.lang.Integer) - Description - **suppressRandomness** (java.lang.Boolean) - Description ``` -------------------------------- ### Tracing.start Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/annotation/class-use/Optional.html Starts trace events collection. ```APIDOC ## Tracing.start ### Description Start trace events collection. ### Method `void` ### Parameters - **categories** (java.lang.String) - Description - **options** (java.lang.String) - Description - **bufferUsageReportingInterval** (java.lang.Double) - Description - **transferMode** (TransferMode) - Description - **streamCompression** (StreamCompression) - Description - **traceConfig** (TraceConfig) - Description ``` -------------------------------- ### Start Sampling Heap Profile Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/HeapProfiler.html Starts sampling the heap with a specified interval. This method collects heap information incrementally over time. ```java void startSampling​(java.lang.Double samplingInterval) ``` ```java void startSampling() ``` -------------------------------- ### startTrackingHeapObjects Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/HeapProfiler.html Starts tracking heap objects. ```APIDOC ## startTrackingHeapObjects trackAllocations ### Description Starts tracking heap objects, optionally tracking allocations. ### Method void ### Parameters #### Path Parameters - **trackAllocations** (java.lang.Boolean) - Optional - Whether to track allocations. ``` ```APIDOC ## startTrackingHeapObjects ### Description Starts tracking heap objects. ### Method void ``` -------------------------------- ### Start Violation Reporting Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Log.html Starts reporting performance violations based on the provided configuration. Ensure `ViolationSetting` is correctly configured. ```java void startViolationsReport​(java.util.List config) ``` -------------------------------- ### Start Tracking Heap Objects Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/HeapProfiler.html Starts tracking heap objects, optionally including allocation information. This provides a detailed view of object creation and destruction. ```java void startTrackingHeapObjects​(java.lang.Boolean trackAllocations) ``` ```java void startTrackingHeapObjects() ``` -------------------------------- ### launch() Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a browser instance with default settings. ```APIDOC ## launch() ### Description Launches a browser instance with default settings. ### Method POST ### Endpoint N/A (This is a method call, not an HTTP endpoint) ### Returns `SessionFactory` - A SessionFactory object to manage the browser session. ``` -------------------------------- ### HeapProfiler.startSampling Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/annotation/class-use/Optional.html Starts heap sampling. ```APIDOC ## HeapProfiler.startSampling ### Description Starts heap sampling. ### Method `void` ### Parameters - **samplingInterval** (java.lang.Double) - Description ``` -------------------------------- ### Launch Browser with Arguments Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Launches the browser with a specified list of arguments. Use this to customize the browser's startup behavior. ```java public final SessionFactory launch (java.util.List arguments) ``` -------------------------------- ### Get Send Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Retrieves the timestamp for when the request started sending. This is part of the ResourceTiming information. ```java public java.lang.Double getSendStart() ``` -------------------------------- ### Get Worker Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Retrieves the timestamp for when the ServiceWorker started running. This is part of the ResourceTiming information. ```java public java.lang.Double getWorkerStart() ``` -------------------------------- ### launch Method (No Arguments) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a Chrome instance with default settings and returns a SessionFactory. ```java public final SessionFactory launch() ``` -------------------------------- ### Get SSL Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Retrieves the timestamp for when the SSL handshake started. This is part of the ResourceTiming information. ```java public java.lang.Double getSslStart() ``` -------------------------------- ### launch(List arguments) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a browser instance with specified arguments. ```APIDOC ## launch(List arguments) ### Description Launches a browser instance with specified arguments. ### Method POST ### Endpoint N/A (This is a method call, not an HTTP endpoint) ### Parameters #### Request Body - **arguments** (List) - Required - A list of command-line arguments for the browser. ### Returns `SessionFactory` - A SessionFactory object to manage the browser session. ``` -------------------------------- ### Get Latest Installed Chromium Version Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/ChromiumDownloader.html Retrieves the latest Chromium version that is already installed on the system. ```java public static ChromiumVersion getLatestInstalledVersion() ``` -------------------------------- ### Tracing.start with TraceConfig Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/tracing/class-use/TraceConfig.html Demonstrates how to start trace event collection using the Tracing.start method, which accepts a TraceConfig object to configure the tracing session. ```APIDOC ## Tracing.start(String categories, String options, Double bufferUsageReportingInterval, TransferMode transferMode, StreamCompression streamCompression, TraceConfig traceConfig) ### Description Start trace events collection. ### Method void ### Parameters - **categories** (java.lang.String) - Description not available - **options** (java.lang.String) - Description not available - **bufferUsageReportingInterval** (java.lang.Double) - Description not available - **transferMode** (TransferMode) - Description not available - **streamCompression** (StreamCompression) - Description not available - **traceConfig** (TraceConfig) - Description not available ``` -------------------------------- ### Get System Information - Java Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/SystemInfo.html Retrieves comprehensive information about the system. Use this method to get general system details. ```java GetInfoResult getInfo() ``` -------------------------------- ### Get Push Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Retrieves the timestamp for when the server started pushing the request. This is part of the ResourceTiming information. ```java public java.lang.Double getPushStart() ``` -------------------------------- ### Start Sampling with Interval and Suppression Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Memory.html Starts collecting a native memory profile with a specified sampling interval and an option to suppress randomness in intervals. This allows for more controlled memory profiling. ```java void startSampling​(java.lang.Integer samplingInterval, java.lang.Boolean suppressRandomness) ``` -------------------------------- ### Get Connection Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Retrieves the timestamp for when the connection to the remote host started. This is part of the ResourceTiming information. ```java public java.lang.Double getConnectStart() ``` -------------------------------- ### launch Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Launches a new browser instance with specified executable path, arguments, and connection timeout. ```APIDOC ## launch ### Description Launches a new browser instance with the specified Chrome executable path, a list of arguments, and a connection timeout. ### Method public final SessionFactory launch ### Parameters #### Path Parameters - **chromeExecutablePath** (java.lang.String) - The path to the Chrome executable. - **arguments** (java.util.List) - A list of arguments to pass to the browser. - **connectionTimeout** (int) - The timeout in milliseconds for establishing a connection. ### Return Value - **SessionFactory** - An object representing the session factory for the launched browser instance. ``` -------------------------------- ### startWorker Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Starts a worker. ```APIDOC ## startWorker(String) ### Description Starts a worker. ### Method ServiceWorker.startWorker ### Parameters #### Path Parameters - **String** (String) - Required - Description ``` -------------------------------- ### launch Method (Executable Path and Arguments) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a Chrome instance using the specified executable path and arguments, returning a SessionFactory. ```java public final SessionFactory launch​(java.lang.String chromeExecutablePath, java.util.List arguments) ``` -------------------------------- ### Scope Start Location Getters and Setters Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/debugger/Scope.html Provides methods to get and set the location in the source code where the scope starts. ```java publicLocationgetStartLocation() { } ``` ```java publicvoidsetStartLocation​(LocationstartLocation) { } ``` -------------------------------- ### startScreencast Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Page.html Starts sending each frame using the `screencastFrame` event. ```APIDOC ## startScreencast ### Description Starts sending each frame using the `screencastFrame` event. ### Method void ### Parameters * **format** (ImageFormat) - Image format for the screencast. * **quality** (Integer) - Compression quality (0-100) for JPEG format. * **maxWidth** (Integer) - Maximum width of the screencast frames. * **maxHeight** (Integer) - Maximum height of the screencast frames. * **everyNthFrame** (Integer) - Capture every Nth frame. ### Response Success Response (void) ``` -------------------------------- ### getStartTime Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/profiler/Profile.html Retrieves the profiling start timestamp. ```APIDOC ## getStartTime() ### Description Gets the profiling start timestamp in microseconds. ### Method `getStartTime()` ### Returns - **Double**: The profiling start timestamp. ``` -------------------------------- ### ConsoleProfileStarted.getLocation() Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Gets the location where a console profile started. ```APIDOC ## getLocation() ### Description Location of console.profile(). ### Method Method ### Class io.webfolder.cdp.event.profiler.ConsoleProfileStarted ``` -------------------------------- ### getStartCharacterIndex Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/css/InlineTextBox.html Gets the starting index in characters for this post layout textbox substring. ```APIDOC ## getStartCharacterIndex() ### Description Gets the starting index in characters for this post layout textbox substring. ### Method `Integer getStartCharacterIndex()` ### Return Value The starting index in characters. ### Method Example ```java Integer startIndex = inlineTextBox.getStartCharacterIndex(); ``` ``` -------------------------------- ### launch(String chromeExecutablePath, List arguments) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a browser instance with a specified Chrome executable path and arguments. ```APIDOC ## launch(String chromeExecutablePath, List arguments) ### Description Launches a browser instance with a specified Chrome executable path and arguments. ### Method POST ### Endpoint N/A (This is a method call, not an HTTP endpoint) ### Parameters #### Request Body - **chromeExecutablePath** (String) - Required - The path to the Chrome executable. - **arguments** (List) - Required - A list of command-line arguments for the browser. ### Returns `SessionFactory` - A SessionFactory object to manage the browser session. ``` -------------------------------- ### Start Column Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/css/CSSStyleSheetHeader.html Methods to get and set the column offset of the stylesheet within the resource. ```APIDOC ## getStartColumn ### Description Column offset of the stylesheet within the resource (zero based). ### Method ```java public java.lang.Double getStartColumn() ``` ``` ```APIDOC ## setStartColumn ### Description Column offset of the stylesheet within the resource (zero based). ### Method ```java public void setStartColumn(java.lang.Double startColumn) ``` ``` -------------------------------- ### startSampling (with parameters) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Memory.html Start collecting native memory profile with specified interval and randomness suppression. ```APIDOC ## startSampling ### Description Start collecting native memory profile. ### Method `void startSampling(java.lang.Integer samplingInterval, java.lang.Boolean suppressRandomness)` ### Parameters #### Path Parameters - **samplingInterval** (java.lang.Integer) - Required - Average number of bytes between samples. - **suppressRandomness** (java.lang.Boolean) - Required - Do not randomize intervals between samples. ``` -------------------------------- ### Start Line Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/css/CSSStyleSheetHeader.html Methods to get and set the line offset of the stylesheet within the resource. ```APIDOC ## getStartLine ### Description Line offset of the stylesheet within the resource (zero based). ### Method ```java public java.lang.Double getStartLine() ``` ``` ```APIDOC ## setStartLine ### Description Line offset of the stylesheet within the resource (zero based). ### Method ```java public void setStartLine(java.lang.Double startLine) ``` ``` -------------------------------- ### Get Worker Ready Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Retrieves the timestamp for when the ServiceWorker finished starting. This is part of the ResourceTiming information. ```java public java.lang.Double getWorkerReady() ``` -------------------------------- ### startViolationsReport Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Starts violation reporting. ```APIDOC ## startViolationsReport(List) ### Description Start violation reporting. ### Method Log.startViolationsReport ### Parameters #### Path Parameters - **List** (List) - Required - Description ``` -------------------------------- ### setProxyStart Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Sets the time when proxy resolution started. ```APIDOC ## setProxyStart(Double) ### Description Started resolving proxy. ### Method Method ### Parameters #### Path Parameters - **proxyStart** (Double) - Required - The time when proxy resolution started. ### Class io.webfolder.cdp.type.network.ResourceTiming ``` -------------------------------- ### launch Method (Executable Path, Arguments, and Timeout) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a Chrome instance with a specific executable path, arguments, and connection timeout, returning a SessionFactory. ```java public final SessionFactory launch​(java.lang.String chromeExecutablePath, java.util.List arguments, int connectionTimeout) ``` -------------------------------- ### getStartCharacterIndex Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/domsnapshot/InlineTextBox.html Gets the starting index of the text substring in characters. Surrogate pairs in UTF-16 count as 2 characters. ```APIDOC ## getStartCharacterIndex() ### Description The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2. ### Method `public Integer getStartCharacterIndex()` ``` -------------------------------- ### Page.startScreencast Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/annotation/class-use/Optional.html Starts sending each frame using the `screencastFrame` event. ```APIDOC ## Page.startScreencast ### Description Starts sending each frame using the `screencastFrame` event. ### Method `void` ### Parameters - **format** (ImageFormat) - Description - **quality** (java.lang.Integer) - Description - **maxWidth** (java.lang.Integer) - Description - **maxHeight** (java.lang.Integer) - Description - **everyNthFrame** (java.lang.Integer) - Description ``` -------------------------------- ### SourceRange Getters and Setters Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/css/SourceRange.html Provides methods to get and set the start and end line and column numbers for a SourceRange. ```APIDOC ## SourceRange Getters and Setters ### Description These methods allow you to retrieve and modify the line and column information that defines a text range. ### Methods #### getStartLine() - **Description**: Retrieves the starting line number of the range. - **Return Type**: `java.lang.Integer` #### setStartLine(java.lang.Integer startLine) - **Description**: Sets the starting line number of the range. - **Parameters**: - `startLine` (java.lang.Integer) - The starting line number. #### getStartColumn() - **Description**: Retrieves the starting column number of the range (inclusive). - **Return Type**: `java.lang.Integer` #### setStartColumn(java.lang.Integer startColumn) - **Description**: Sets the starting column number of the range (inclusive). - **Parameters**: - `startColumn` (java.lang.Integer) - The starting column number. #### getEndLine() - **Description**: Retrieves the ending line number of the range. - **Return Type**: `java.lang.Integer` #### setEndLine(java.lang.Integer endLine) - **Description**: Sets the ending line number of the range. - **Parameters**: - `endLine` (java.lang.Integer) - The ending line number. #### getEndColumn() - **Description**: Retrieves the ending column number of the range (exclusive). - **Return Type**: `java.lang.Integer` #### setEndColumn(java.lang.Integer endColumn) - **Description**: Sets the ending column number of the range (exclusive). - **Parameters**: - `endColumn` (java.lang.Integer) - The ending column number. ### Request Example ```java SourceRange range = new SourceRange(); range.setStartLine(1); range.setStartColumn(5); range.setEndLine(3); range.setEndColumn(10); int startLine = range.getStartLine(); // 1 int startColumn = range.getStartColumn(); // 5 int endLine = range.getEndLine(); // 3 int endColumn = range.getEndColumn(); // 10 ``` ``` -------------------------------- ### Get Document Pathname Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/session/Navigator.html Retrieves the pathname component of the document's URL. This typically starts with a '/' character. ```java defaultjava.lang.StringgetPathname() ``` -------------------------------- ### Get Lower Bound Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/indexeddb/KeyRange.html Retrieves the lower bound of the key range. This is used to define the starting point for range queries. ```java public Key getLower() ``` -------------------------------- ### Launch Browser with Default Settings Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Launches the browser using default settings and arguments. This is a convenient method for quick launches. ```java public final SessionFactory launch() ``` -------------------------------- ### AnimationStarted Class Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/event/animation/AnimationStarted.html Represents an event triggered when an animation has started. It provides methods to get and set the associated Animation object. ```APIDOC ## Class: AnimationStarted Event for animation that has been started. ### Constructor * `AnimationStarted()`: Default constructor for the AnimationStarted event. ### Methods * **`getAnimation()`** * **Description**: Retrieves the Animation object associated with this event. * **Returns**: `Animation` - The animation that was started. * **`setAnimation(Animation animation)`** * **Description**: Sets the Animation object for this event. * **Parameters**: * `animation` (Animation) - Required - The animation that was started. ``` -------------------------------- ### launch Method (Arguments Only) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a Chrome instance with the specified arguments and returns a SessionFactory. ```java public final SessionFactory launch​(java.util.List arguments) ``` -------------------------------- ### setDnsStart Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Sets the time when DNS address resolution started. ```APIDOC ## setDnsStart(Double) ### Description Started DNS address resolve. ### Method Method ### Class io.webfolder.cdp.type.network.ResourceTiming ``` -------------------------------- ### Navigation Delay Management Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/event/page/FrameScheduledNavigation.html Methods for getting and setting the delay (in seconds) until the navigation is scheduled to begin. Note that the navigation is not guaranteed to start. ```java public java.lang.Double getDelay() ``` ```java public void setDelay​(java.lang.Double delay) ``` -------------------------------- ### launch(String chromeExecutablePath, List arguments, int connectionTimeout) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Launches a browser instance with a specified Chrome executable path, arguments, and connection timeout. ```APIDOC ## launch(String chromeExecutablePath, List arguments, int connectionTimeout) ### Description Launches a browser instance with a specified Chrome executable path, arguments, and connection timeout. ### Method POST ### Endpoint N/A (This is a method call, not an HTTP endpoint) ### Parameters #### Request Body - **chromeExecutablePath** (String) - Required - The path to the Chrome executable. - **arguments** (List) - Required - A list of command-line arguments for the browser. - **connectionTimeout** (int) - Required - The connection timeout in milliseconds. ### Returns `SessionFactory` - A SessionFactory object to manage the browser session. ``` -------------------------------- ### Get Sampling Heap Profile Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/HeapProfiler.html Retrieves the current sampling heap profile. This method is typically used after sampling has been started and stopped. ```java SamplingHeapProfile getSamplingProfile() ``` -------------------------------- ### Creating a RemoteLauncher Instance Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/class-use/RemoteLauncher.html Demonstrates how to create a new RemoteLauncher instance using the RemoteLauncherBuilder. This is the primary way to obtain a RemoteLauncher object for interacting with CDP. ```APIDOC ## RemoteLauncherBuilder.create() ### Description Factory method to create a new instance of `RemoteLauncherBuilder`, which is used to configure and build a `RemoteLauncher`. ### Method `static RemoteLauncherBuilder create()` ### Endpoint N/A (SDK Method) ### Parameters None ### Request Example ```java RemoteLauncher launcher = RemoteLauncher.create(); ``` ### Response #### Success Response Returns a `RemoteLauncherBuilder` instance. #### Response Example ```java RemoteLauncherBuilder builder; ``` ``` -------------------------------- ### Get Possible Breakpoints Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Debugger.html Returns a list of possible locations where a breakpoint can be set within a script, starting from a given location. This can help in identifying valid breakpoint targets. ```java java.util.List getPossibleBreakpoints​(Location start) ``` ```java java.util.List getPossibleBreakpoints​(Location start, Location end, java.lang.Boolean restrictToFunction) ``` -------------------------------- ### getPushStart Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Time the server started pushing request. ```APIDOC ## getPushStart() ### Description Time the server started pushing request. ### Method GET (Implicit) ### Endpoint N/A (Method within a class) ### Parameters None ### Response None specified ``` -------------------------------- ### Chrome Launching Methods Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Methods to launch Chrome/Chromium instances. ```APIDOC ## launch() ### Description Launches Chrome/Chromium and returns a SessionFactory. ### Method `SessionFactory launch()` ``` ```APIDOC ## launch(java.util.List arguments) ### Description Launches Chrome/Chromium with specified arguments and returns a SessionFactory. ### Method `SessionFactory launch(java.util.List arguments)` ``` ```APIDOC ## launch(java.lang.String chromeExecutablePath) ### Description Launches Chrome/Chromium from a specified executable path and returns a SessionFactory. ### Method `SessionFactory launch(java.lang.String chromeExecutablePath)` ``` ```APIDOC ## launch(java.nio.file.Path chromeExecutablePath) ### Description Launches Chrome/Chromium from a specified executable path (Path object) and returns a SessionFactory. ### Method `SessionFactory launch(java.nio.file.Path chromeExecutablePath)` ``` ```APIDOC ## launch(java.lang.String chromeExecutablePath, java.util.List arguments) ### Description Launches Chrome/Chromium from a specified executable path with arguments and returns a SessionFactory. ### Method `SessionFactory launch(java.lang.String chromeExecutablePath, java.util.List arguments)` ``` ```APIDOC ## launch(java.nio.file.Path chromeExecutablePath, java.util.List arguments) ### Description Launches Chrome/Chromium from a specified executable path (Path object) with arguments and returns a SessionFactory. ### Method `SessionFactory launch(java.nio.file.Path chromeExecutablePath, java.util.List arguments)` ``` ```APIDOC ## launch(java.lang.String chromeExecutablePath, java.util.List arguments, int connectionTimeout) ### Description Launches Chrome/Chromium from a specified executable path with arguments and connection timeout, returning a SessionFactory. ### Method `SessionFactory launch(java.lang.String chromeExecutablePath, java.util.List arguments, int connectionTimeout)` ``` -------------------------------- ### Get Browser Sampling Profile Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Memory.html Retrieves the native memory allocations profile collected since the browser process started. This is useful for understanding memory usage at the browser level. ```java SamplingProfile getBrowserSamplingProfile() ``` -------------------------------- ### Create WebSocket Instance Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/com/neovisionaries/ws/client/WebSocket.html Demonstrates the basic creation of a WebSocket instance using WebSocketFactory. ```APIDOC ## Create WebSocket `WebSocket` class represents a WebSocket. Its instances are created by calling one of `createSocket` methods of a `WebSocketFactory` instance. ### Example ```java // Create a WebSocket. The scheme part can be one of the following: // 'ws', 'wss', 'http' and 'https' (case-insensitive). The user info // part, if any, is interpreted as expected. If a raw socket failed // to be created, an IOException is thrown. WebSocket ws = new WebSocketFactory() .createWebSocket("ws://localhost/endpoint"); ``` ``` -------------------------------- ### Get All-Time Sampling Profile Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Memory.html Retrieves the native memory allocations profile collected since the renderer process started. This provides a comprehensive view of memory usage from the beginning. ```java SamplingProfile getAllTimeSamplingProfile() ``` -------------------------------- ### Launcher.launch() methods Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/session/class-use/SessionFactory.html These methods in the Launcher class return a SessionFactory instance, allowing for the creation of new browser sessions. ```APIDOC ## Launcher.launch() ### Description Launches a new browser session using the provided Chrome executable path. ### Method `SessionFactory` ### Endpoint `Launcher.launch​(java.nio.file.Path chromeExecutablePath)` ### Parameters - **chromeExecutablePath** (java.nio.file.Path) - Description: Path to the Chrome executable. ### Response #### Success Response (SessionFactory) - Returns a `SessionFactory` object. ## Launcher.launch() ### Description Launches a new browser session using the provided Chrome executable path and a list of arguments. ### Method `SessionFactory` ### Endpoint `Launcher.launch​(java.nio.file.Path chromeExecutablePath, java.util.List arguments)` ### Parameters - **chromeExecutablePath** (java.nio.file.Path) - Description: Path to the Chrome executable. - **arguments** (java.util.List) - Description: List of arguments to pass to the Chrome process. ### Response #### Success Response (SessionFactory) - Returns a `SessionFactory` object. ``` -------------------------------- ### Start Service Worker Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/ServiceWorker.html Starts a service worker for a given scope URL. ```java void startWorker​(java.lang.String scopeURL) ``` -------------------------------- ### TextBoxSnapshot getStart Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/domsnapshot/TextBoxSnapshot.html Retrieves the starting index in characters for this post-layout textbox substring. Characters represented as surrogate pairs in UTF-16 have a length of 2. ```java public java.util.List getStart() ``` -------------------------------- ### setStart Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/domsnapshot/TextBoxSnapshot.html Sets the starting index in characters for this post layout textbox substring. ```APIDOC ## setStart(java.util.List start) ### Description Sets the starting index in characters for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2. ### Method `void setStart(java.util.List start)` ### Parameters #### Request Body - **start** (List) - Required - The starting index to set. ``` -------------------------------- ### Get Chromium Path Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/ChromiumDownloader.html Gets the file system path for a specific Chromium version. ```java public static java.nio.file.Path getChromiumPath(ChromiumVersion version) ``` -------------------------------- ### Set Send Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Sets the timestamp for when the request started sending. This is part of the ResourceTiming information. ```java public void setSendStart​(java.lang.Double sendStart) ``` -------------------------------- ### Profile getStartTime() Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/profiler/Profile.html Returns the profiling start timestamp in microseconds. ```java public java.lang.Double getStartTime() ``` -------------------------------- ### Set Worker Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Sets the timestamp for when the ServiceWorker started running. This is part of the ResourceTiming information. ```java public void setWorkerStart​(java.lang.Double workerStart) ``` -------------------------------- ### Set SSL Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Sets the timestamp for when the SSL handshake started. This is part of the ResourceTiming information. ```java public void setSslStart​(java.lang.Double sslStart) ``` -------------------------------- ### Launcher Methods for ProcessManager Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/class-use/ProcessManager.html Demonstrates how to get and set the ProcessManager instance using the Launcher class. ```APIDOC ## Launcher.getProcessManager() ### Description Retrieves the current ProcessManager instance used by the Launcher. ### Method GET ### Endpoint N/A (SDK Method) ### Returns - **ProcessManager** - The current ProcessManager instance. ## Launcher.setProcessManager(ProcessManager processManager) ### Description Sets a custom ProcessManager instance for the Launcher to use. ### Method POST ### Endpoint N/A (SDK Method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **processManager** (ProcessManager) - Required - The ProcessManager instance to set. ``` -------------------------------- ### getStartLine Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Retrieves the starting line offset for scripts, stylesheets, or source ranges. ```APIDOC ## getStartLine ### Description Retrieves the line offset of the script/stylesheet within the resource or the start line of a source range. ### Method N/A (Method call) ### Endpoint N/A ### Parameters None ### Request Example ``` getStartLine() ``` ### Response N/A (Method return value) ``` -------------------------------- ### Get Chromium Executable Path Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/ChromiumDownloader.html Gets the file system path for the Chromium executable of a specific version. ```java public static java.nio.file.Path getExecutable(ChromiumVersion version) ``` -------------------------------- ### Set Push Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Sets the timestamp for when the server started pushing the request. This is part of the ResourceTiming information. ```java public void setPushStart​(java.lang.Double pushStart) ``` -------------------------------- ### Profiler.startPreciseCoverage Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/annotation/class-use/Optional.html Enable precise code coverage. ```APIDOC ## Profiler.startPreciseCoverage ### Description Enable precise code coverage. ### Method `void` ### Parameters - **callCount** (java.lang.Boolean) - Description - **detailed** (java.lang.Boolean) - Description ``` -------------------------------- ### Set Connection Start Time Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/ResourceTiming.html Sets the timestamp for when the connection to the remote host started. This is part of the ResourceTiming information. ```java public void setConnectStart​(java.lang.Double connectStart) ``` -------------------------------- ### startTypeProfile Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Enable type profile. ```APIDOC ## startTypeProfile() ### Description Enable type profile. ### Method Profiler.startTypeProfile ``` -------------------------------- ### Profile Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/profiler/Profile.html Initializes a new Profile object. No specific setup is required. ```java public Profile() ``` -------------------------------- ### Get Target Information Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Target.html Retrieves detailed information about a specific target. Ensure a target is active to get its information. ```java TargetInfo getTargetInfo() ``` -------------------------------- ### Launch Chrome with Path and Arguments Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Launches Chrome using a specified executable path and a list of arguments. This provides fine-grained control over the browser launch. ```java public SessionFactory launch (java.nio.file.Path chromeExecutablePath, java.util.List arguments) ``` -------------------------------- ### startPreciseCoverage Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Enables precise code coverage. ```APIDOC ## startPreciseCoverage() ### Description Enable precise code coverage. ### Method Profiler.startPreciseCoverage ``` ```APIDOC ## startPreciseCoverage(Boolean, Boolean) ### Description Enable precise code coverage. ### Method Profiler.startPreciseCoverage ### Parameters #### Path Parameters - **Boolean** (Boolean) - Required - Description - **Boolean** (Boolean) - Required - Description ``` -------------------------------- ### Launch Browser with Path and Arguments (Final) Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Launches the browser with a specified executable path and arguments. This is a final method, indicating it cannot be overridden. ```java public final SessionFactory launch (java.lang.String chromeExecutablePath, ``` -------------------------------- ### Check Chrome Installation Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Tests whether Chrome/Chromium is installed on the system. Returns true if the browser is found on predefined paths. ```java public boolean isChromeInstalled() ``` -------------------------------- ### Getting the Browser Instance Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/class-use/Browser.html Demonstrates how to obtain an instance of the Browser class using the Command.getBrowser() method. ```APIDOC ## Method: getBrowser() ### Description Retrieves an instance of the Browser class. ### Class Command ### Returns - Browser: An instance of the Browser class. ``` -------------------------------- ### Start Screencast Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Page.html Initiates the screencast process, which sends each frame of the page's visual output via the `screencastFrame` event. ```java void startScreencast() ``` -------------------------------- ### Get Supported Domains Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Schema.html Deprecated method to get a list of supported domains. Returns a List of Domain objects. ```java java.util.List getDomains() ``` -------------------------------- ### Tracing.start Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/tracing/class-use/StreamCompression.html This method starts trace events collection and accepts StreamCompression as a parameter to specify the compression format of the stream. ```APIDOC ## Tracing.start ### Description Start trace events collection. ### Method Signature `void start(String categories, String options, Double bufferUsageReportingInterval, TransferMode transferMode, StreamCompression streamCompression, TraceConfig traceConfig)` ### Parameters - **categories** (String) - Categories for trace events. - **options** (String) - Options for trace events. - **bufferUsageReportingInterval** (Double) - Reporting interval for buffer usage. - **transferMode** (TransferMode) - Transfer mode for trace events. - **streamCompression** (StreamCompression) - Compression format for the stream. - **traceConfig** (TraceConfig) - Configuration for the trace. ``` -------------------------------- ### Command Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/session/Command.html Initializes a new instance of the Command class with the provided Session. ```APIDOC ## Command Constructor ### Description Initializes a new instance of the Command class. ### Method `Command(Session session)` ### Parameters - **session** (Session) - The session object to associate with this command instance. ``` -------------------------------- ### Get Pictograph Font Family Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/page/FontFamilies.html Retrieves the value of the pictograph font-family. Use this method to get the currently set pictograph font. ```java public java.lang.String getPictograph() ``` -------------------------------- ### Get Fantasy Font Family Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/page/FontFamilies.html Retrieves the value of the fantasy font-family. Use this method to get the currently set fantasy font. ```java public java.lang.String getFantasy() ``` -------------------------------- ### Get Cursive Font Family Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/page/FontFamilies.html Retrieves the value of the cursive font-family. Use this method to get the currently set cursive font. ```java public java.lang.String getCursive() ``` -------------------------------- ### Domain Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/schema/Domain.html Initializes a new instance of the Domain class. No specific setup is required. ```java public Domain() ``` -------------------------------- ### Get Sans-Serif Font Family Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/page/FontFamilies.html Retrieves the value of the sansSerif font-family. Use this method to get the currently set sans-serif font. ```java public java.lang.String getSansSerif() ``` -------------------------------- ### SystemInfo.getInfo() Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/systeminfo/class-use/GetInfoResult.html The SystemInfo.getInfo() method returns an instance of GetInfoResult, providing information about the system. ```APIDOC ## SystemInfo.getInfo() ### Description Returns information about the system. ### Method Signature `GetInfoResult` SystemInfo.`getInfo()` ### Return Type - `GetInfoResult`: An object containing system information. ``` -------------------------------- ### Get Serif Font Family Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/page/FontFamilies.html Retrieves the value of the serif font-family. Use this method to get the currently set serif font. ```java public java.lang.String getSerif() ``` -------------------------------- ### Getting an Inspector Instance Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/class-use/Inspector.html Demonstrates how to obtain an Inspector instance using the Command class. ```APIDOC ## Command.getInspector() ### Description Retrieves an Inspector instance. ### Method `Command.getInspector()` ### Parameters None ### Response - **Inspector** (Inspector) - An instance of the Inspector class. ``` -------------------------------- ### Get Fixed Font Family Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/page/FontFamilies.html Retrieves the value of the fixed font-family. Use this method to get the currently set fixed font. ```java public java.lang.String getFixed() ``` -------------------------------- ### MediaQuery Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/css/MediaQuery.html Initializes a new instance of the MediaQuery class. No specific setup is required. ```java public MediaQuery() ``` -------------------------------- ### Get Standard Font Family Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/page/FontFamilies.html Retrieves the value of the standard font-family. Use this method to get the currently set standard font. ```java public java.lang.String getStandard() ``` -------------------------------- ### Launcher Constructor with CdpLoggerType Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/logger/class-use/CdpLoggerType.html Initializes a Launcher with a specified CdpLoggerType. ```APIDOC ## Launcher(CdpLoggerType loggerType) ### Description Constructs a new Launcher instance with the specified logger type. ### Constructor `Launcher(CdpLoggerType loggerType)` ### Parameters #### Path Parameters - **loggerType** (CdpLoggerType) - Required - The logger type to use for this launcher. ``` -------------------------------- ### Get Cache ID - cdp4j Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/cachestorage/Cache.html Retrieves the opaque unique identifier for the cache. Use this method to get the cache's ID. ```java public java.lang.String getCacheId() ``` -------------------------------- ### MediaQuery Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/css/MediaQuery.html Initializes a new instance of the MediaQuery class. ```APIDOC ## MediaQuery() ### Description Constructs a new MediaQuery object. ### Constructor ```java public MediaQuery() ``` ``` -------------------------------- ### Get Log ID - SignedCertificateTimestamp Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/network/SignedCertificateTimestamp.html Retrieves the unique identifier of the log where the SCT was issued. Use this method to get the specific log ID. ```java public java.lang.String getLogId() ``` -------------------------------- ### Bucket Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/browser/Bucket.html Initializes a new instance of the Bucket class. No specific setup is required. ```java public Bucket() ``` -------------------------------- ### Get All Chrome Histograms Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Browser.html Retrieves a list of all available Chrome histograms. You can filter histograms by a query string and optionally get delta values. ```java java.util.List getHistograms() ``` ```java java.util.List getHistograms​(java.lang.String query, java.lang.Boolean delta) ``` -------------------------------- ### Get JavaScript Version Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/browser/GetVersionResult.html Retrieves the JavaScript engine version from the browser. Use this method to get the specific version of the JavaScript engine running in the browser. ```java publicjava.lang.StringgetJsVersion() ``` -------------------------------- ### enable Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/HeapProfiler.html Enables the heap profiler. ```APIDOC ## enable ### Description Enables the heap profiler. ### Method void ``` -------------------------------- ### Create RemoteLauncher Instance Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncherBuilder.html Builds and returns a new RemoteLauncher instance based on the configured builder settings. Ensure all necessary connection details are provided before calling. ```java public RemoteLauncher create() ``` -------------------------------- ### Page Frame Started Loading Event Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/event/Events.html Fired when a frame has begun the process of loading resources. This event marks the start of a new loading cycle for a frame. ```java public static final Events PageFrameStartedLoading ``` -------------------------------- ### Get GPUInfo from GetInfoResult Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/systeminfo/class-use/GPUInfo.html Demonstrates how to retrieve GPU information using the getGpu() method from the GetInfoResult class. ```APIDOC ## GPUInfo ### Description Represents information about the GPU. ### Method `GetInfoResult.getGpu()` ### Returns - **GPUInfo** - An object containing GPU information. ``` -------------------------------- ### Profile setStartTime() Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/profiler/Profile.html Sets the profiling start timestamp in microseconds. ```java public void setStartTime(java.lang.Double startTime) ``` -------------------------------- ### Database Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/database/Database.html Initializes a new instance of the Database class. No specific setup is required. ```java public Database() ``` -------------------------------- ### RemoteLauncherBuilder.create Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Creates a new instance of RemoteLauncherBuilder. ```APIDOC ## RemoteLauncherBuilder.create ### Description Creates a new instance of RemoteLauncherBuilder. ### Method POST ### Endpoint /RemoteLauncherBuilder.create ### Request Example ```json {} ``` ### Response #### Success Response (200) - **builder** (RemoteLauncherBuilder) - The created RemoteLauncherBuilder instance. ``` -------------------------------- ### Launch Chrome with Path Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/Launcher.html Launches Chrome using a specified executable path without additional arguments. Use this when only the browser path needs to be provided. ```java public SessionFactory launch (java.nio.file.Path chromeExecutablePath) ``` -------------------------------- ### GPUInfo Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/systeminfo/GPUInfo.html Initializes a new instance of the GPUInfo class. ```APIDOC ## GPUInfo() ### Description Initializes a new instance of the GPUInfo class. ### Constructor `GPUInfo()` ``` -------------------------------- ### startRuleUsageTracking Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/CSS.html Enables the selector recording. ```APIDOC ## startRuleUsageTracking ### Description Enables the selector recording. ### Method ``` void startRuleUsageTracking() ``` ``` -------------------------------- ### internalLaunch Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/RemoteLauncher.html Internal method for launching Chrome with a list of arguments and parameters. This is a protected method. ```java protected void internalLaunch​(java.util.List list, java.util.List parameters) ``` -------------------------------- ### isDomReady Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Gets the state of the Document. ```APIDOC ## isDomReady ### Description Gets the state of the Document. ### Method N/A (Method signature provided) ### Endpoint N/A ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body N/A ### Request Example N/A ### Response #### Success Response (200) N/A #### Response Example N/A ``` -------------------------------- ### getRequestHeaders Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Gets the request headers. ```APIDOC ## getRequestHeaders() ### Description Gets the request headers. ### Method GET (Implicit) ### Endpoint N/A (Method within a class) ### Parameters None ### Response None specified ``` -------------------------------- ### getRegistrationId Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Gets the registration ID. ```APIDOC ## getRegistrationId() ### Description Gets the registration ID. ### Method GET (Implicit) ### Endpoint N/A (Method within multiple classes) ### Parameters None ### Response None specified ``` -------------------------------- ### EntryPreview Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/runtime/EntryPreview.html Initializes a new instance of the EntryPreview class. No specific setup is required. ```java public EntryPreview() ``` -------------------------------- ### getQuota Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Gets quota information. ```APIDOC ## getQuota() ### Description Gets quota information. ### Method GET (Implicit) ### Endpoint N/A (Method within a class) ### Parameters None ### Response None specified ``` -------------------------------- ### getQueryString Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/index-all.html Gets query string. ```APIDOC ## getQueryString() ### Description Gets query string. ### Method GET (Implicit) ### Endpoint N/A (Method within an interface) ### Parameters None ### Response None specified ``` -------------------------------- ### KeyPath Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/indexeddb/KeyPath.html Initializes a new instance of the KeyPath class. ```APIDOC ## KeyPath() ### Description Initializes a new instance of the KeyPath class. ### Constructor `KeyPath()` ``` -------------------------------- ### getProperties Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/accessibility/AXNode.html Gets all other properties of the node. ```APIDOC ## getProperties ### Description Gets all other properties of the node. ### Method `java.util.List getProperties()` ``` -------------------------------- ### getValue Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/accessibility/AXNode.html Gets the value for this node. ```APIDOC ## getValue ### Description Gets the value for this node. ### Method `AXValue getValue()` ``` -------------------------------- ### DatabaseWithObjectStores Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/indexeddb/DatabaseWithObjectStores.html Initializes a new instance of the DatabaseWithObjectStores class. ```java publicDatabaseWithObjectStores() ``` -------------------------------- ### TextBoxSnapshot setStart Method Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/domsnapshot/TextBoxSnapshot.html Sets the starting index in characters for this post-layout textbox substring. Characters represented as surrogate pairs in UTF-16 have a length of 2. ```java public void setStart (java.util.List start) ``` -------------------------------- ### getHistograms Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Browser.html Get Chrome histograms. ```APIDOC ## getHistograms ### Description Get Chrome histograms. ### Method APIDOC ### Endpoint APIDOC ### Response #### Success Response (200) - **List** (list) - A list of Histograms. ``` -------------------------------- ### Create Target with Options Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/command/Target.html Creates a new page (target) with specified initial URL, dimensions, browser context, and frame control settings. Dimensions are in DIP and relevant for headless Chrome. ```java java.lang.String createTarget​(java.lang.String url, java.lang.Integer width, java.lang.Integer height, java.lang.String browserContextId, java.lang.Boolean enableBeginFrameControl) ``` -------------------------------- ### setStartTime Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/type/profiler/Profile.html Sets the profiling start timestamp. ```APIDOC ## setStartTime(Double startTime) ### Description Sets the profiling start timestamp in microseconds. ### Method `setStartTime(Double startTime)` ### Parameters - **startTime** (Double) - The profiling start timestamp. ``` -------------------------------- ### Launcher Constructor Source: https://javadoc.io/doc/io.webfolder/cdp4j/3.0.15/io/webfolder/cdp/session/class-use/SessionFactory.html The Launcher constructor accepts a SessionFactory instance for initialization. ```APIDOC ## Launcher(SessionFactory factory) ### Description Initializes a new Launcher instance with a provided SessionFactory. ### Constructor `Launcher​(SessionFactory factory)` ### Parameters - **factory** (SessionFactory) - Description: The SessionFactory to be used by the Launcher. ```