Chrome DPClient
constructor(remoteDebugUrl: String = "http://localhost:9222", overrideHostHeader: Boolean = false, httpClient: HttpClient = ChromeDP.defaultHttpClient)(source)
Deprecated
The entrypoint API has be reworked to favor the web socket connection approach. Use ChromeDP.connect() instead to connect to the debugger. Please check the docs and the KDoc of ChromeDP for more info. Moreover, the ChromeDPClient concrete type shouldn't be referenced as-is anymore, and will be hidden or removed in a future version. If you still need to access similar HTTP API methods, please use the ChromeDPHttpApi interface instead.
Replace with
import org.hildan.chrome.devtools.ChromeDP
Content copied to clipboard
ChromeDP.httpApi(remoteDebugUrl, overrideHostHeader)Content copied to clipboard