target

fun target(url: String = options.blankPage, incognito: Boolean = options.incognito, width: Int = options.viewportWidth, height: Int = options.viewportHeight): Target

Creates new target and opens new debugging session via debugging protocol.

If incognito is true then new browser context is created (similar to incognito mode but you can have many of those).

Sources

jvm source
Link copied to clipboard