Kernel::Test::Role::Selenium::HandlesWindowHandles

NAME

Kernel::Test::Role::Selenium::HandlesWindowHandles – role to interact with the the different window handles that may be available (e.g. to switch to another one).

WindowHandleSwitchTo()

Switch to a specific window handle other than the current one.

    $Self->WindowHandleSwitchTo(
        Index     => 1,
        WaitForIt => 0, # optional, default: 0, allowed: 0 or 1
    );

OpenNewTab()

Open a new browser tab.

my $Success = $Self->OpenNewTab( URL => 'http://www.otrs.com', # (optional) URL );

Scroll to Top