kdriver
Toggle table of contents
0.2.5
common
js
jvm
Platform filter
common
js
jvm
Switch theme
Search in API
kdriver
core
/
dev.kdriver.core.utils
Package-level
declarations
Types
Functions
Types
Process
Link copied to clipboard
common
js
jvm
expect
abstract
class
Process
actual
abstract
class
Process
actual
typealias
Process
=
java.lang.Process
Functions
add
Shutdown
Hook
Link copied to clipboard
common
js
jvm
expect
fun
addShutdownHook
(
hook
:
suspend
(
)
->
Unit
)
actual
fun
addShutdownHook
(
hook
:
suspend
(
)
->
Unit
)
actual
fun
addShutdownHook
(
hook
:
suspend
(
)
->
Unit
)
decompress
If
Needed
Link copied to clipboard
common
js
jvm
expect
fun
decompressIfNeeded
(
data
:
ByteArray
)
:
ByteArray
actual
fun
decompressIfNeeded
(
data
:
ByteArray
)
:
ByteArray
actual
fun
decompressIfNeeded
(
data
:
ByteArray
)
:
ByteArray
exists
Link copied to clipboard
common
js
jvm
expect
fun
exists
(
path
:
Path
)
:
Boolean
actual
fun
exists
(
path
:
Path
)
:
Boolean
actual
fun
exists
(
path
:
Path
)
:
Boolean
filter
Recurse
Link copied to clipboard
fun
filterRecurse
(
node
:
DOM.Node
,
predicate
:
(
DOM.Node
)
->
Boolean
)
:
DOM.Node
?
find
Chrome
Executable
Link copied to clipboard
common
js
jvm
expect
fun
findChromeExecutable
(
)
:
Path
?
actual
fun
findChromeExecutable
(
)
:
Path
?
actual
fun
findChromeExecutable
(
)
:
Path
?
free
Port
Link copied to clipboard
common
js
jvm
expect
fun
freePort
(
)
:
Int
?
actual
fun
freePort
(
)
:
Int
?
actual
fun
freePort
(
)
:
Int
?
get
Http
Api
Client
Engine
Link copied to clipboard
common
js
jvm
expect
fun
getHttpApiClientEngine
(
)
:
HttpClientEngineFactory
<
*
>
actual
fun
getHttpApiClientEngine
(
)
:
HttpClientEngineFactory
<
*
>
actual
fun
getHttpApiClientEngine
(
)
:
HttpClientEngineFactory
<
*
>
get
Web
Socket
Client
Engine
Link copied to clipboard
common
js
jvm
expect
fun
getWebSocketClientEngine
(
)
:
HttpClientEngineFactory
<
*
>
actual
fun
getWebSocketClientEngine
(
)
:
HttpClientEngineFactory
<
*
>
actual
fun
getWebSocketClientEngine
(
)
:
HttpClientEngineFactory
<
*
>
is
Gzip
Compressed
Link copied to clipboard
fun
isGzipCompressed
(
data
:
ByteArray
)
:
Boolean
is
Posix
Link copied to clipboard
common
js
jvm
expect
fun
isPosix
(
)
:
Boolean
actual
fun
isPosix
(
)
:
Boolean
actual
fun
isPosix
(
)
:
Boolean
is
Root
Link copied to clipboard
common
js
jvm
expect
fun
isRoot
(
)
:
Boolean
actual
fun
isRoot
(
)
:
Boolean
actual
fun
isRoot
(
)
:
Boolean
is
Zstd
Compressed
Link copied to clipboard
fun
isZstdCompressed
(
data
:
ByteArray
)
:
Boolean
parse
Web
Socket
Url
Link copied to clipboard
fun
parseWebSocketUrl
(
url
:
String
)
:
WebSocketInfo
start
Process
Link copied to clipboard
common
js
jvm
expect
suspend
fun
startProcess
(
exe
:
Path
,
params
:
List
<
String
>
)
:
Process
actual
suspend
fun
startProcess
(
exe
:
Path
,
params
:
List
<
String
>
)
:
Process
actual
suspend
fun
startProcess
(
exe
:
Path
,
params
:
List
<
String
>
)
:
Process
temp
Profile
Dir
Link copied to clipboard
common
js
jvm
expect
fun
tempProfileDir
(
)
:
Path
actual
fun
tempProfileDir
(
)
:
Path
actual
fun
tempProfileDir
(
)
:
Path