public abstract class JiraIframeGadgetBase extends Object
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebDriver |
driver |
protected String |
gadgetId |
protected String |
gadgetIframeId |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.webdriver.utils.element.WebDriverPoller |
poller |
Constructor and Description |
---|
JiraIframeGadgetBase(String gadgetId) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.WebElement |
getTitle() |
protected void |
switchToGlobalContext()
WARNING: Method switches to global context
Function used to exit frame so browser can again properly match elements that may not be part of gadget.
|
protected void |
switchToIframeContext()
WARNING: Method switches to global context
To access gadgets elements we need to change context to its iframe.
|
@Inject protected org.openqa.selenium.WebDriver driver
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.webdriver.utils.element.WebDriverPoller poller
protected final String gadgetIframeId
protected final String gadgetId
public JiraIframeGadgetBase(String gadgetId)
protected void switchToIframeContext()
protected void switchToGlobalContext()
public org.openqa.selenium.WebElement getTitle()
Copyright © 2002-2024 Atlassian. All Rights Reserved.