TabSupport

trait TabSupport[-D <: WebDriver]

A means of managing tabs in a browser.

Selenium lacks this functionality directly.

Companion
object
class Object
trait Matchable
class Any
trait Typical[D]
object Chrome
object Firefox

Type members

Types

type TabHandle

Value members

Abstract methods

def activate(tab: TabHandle)(implicit driver: D): Unit

Make the specified tab active (i.e. on with focus).

Make the specified tab active (i.e. on with focus).

def active(implicit driver: D): TabHandle

Handle of the currently active tab.

Handle of the currently active tab.

def closeActive(implicit driver: D): Unit

Closes the currently active tab.

Closes the currently active tab.

def open(root: TabHandle)(implicit driver: D): TabHandle

Opens a new tab. It will be the active tab upon return.

Opens a new tab. It will be the active tab upon return.