ChooseThemeComponent
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class ChooseThemeComponent extends ConfluenceAbstractPageComponent
Note that the theme selection UI is a pretty old part of Confluence that uses a non-semantic table layout, so the selectors used to bind page elements are less than ideal.
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
ChooseThemeComponent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getActiveThemeName()
Deprecated.
Returns the textual name of the currently active theme (see also
AvailableTheme.getName() . |
Collection<AvailableTheme> |
getAvailableThemes()
Deprecated.
Returns a collection of installed themes which may be selected as the new active theme.
|
boolean |
setTheme(AvailableTheme theme)
Deprecated.
Chooses a new theme from the list of available themes (see
getAvailableThemes() and submits the Form. |
getComponent
public String getActiveThemeName()
AvailableTheme.getName()
.public Collection<AvailableTheme> getAvailableThemes()
getActiveThemeName()
) is not included in this list.public boolean setTheme(@Nonnull AvailableTheme theme)
getAvailableThemes()
and submits the Form.Copyright © 2003–2017 Atlassian. All rights reserved.