public final class WindowFocuser extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
clickLinkAndFocus(org.openqa.selenium.WebDriver webDriver,
com.atlassian.pageobjects.elements.PageElement elementToClick)
Clicks the given element, then switches the browser to the window/tab opened by that element.
|
public static void clickLinkAndFocus(org.openqa.selenium.WebDriver webDriver,
com.atlassian.pageobjects.elements.PageElement elementToClick)
webDriver - the web driverelementToClick - the element to click (usually a link or button)Copyright © 2002-2023 Atlassian. All Rights Reserved.