get

open suspend override fun get(url: String, newTab: Boolean, newWindow: Boolean): Tab

Top level get. Uses the first tab to retrieve given url.

Convenience function known from selenium. This function handles waits/sleeps and detects when DOM events fired, so it's the safest way of navigating.

Return

The Tab object representing the opened tab.

Parameters

url

The URL to navigate to. Defaults to "about:blank".

newTab

If true, opens the URL in a new tab. Defaults to false.

newWindow

If true, opens the URL in a new window. Defaults to false.