Class ExtensionPane


  • public class ExtensionPane
    extends BaseElement
    Displays an extension.
    Since:
    4.2M1
    Version:
    $Id: 789626f7ec1a205544f787b493493f15686aaa33 $
    • Constructor Detail

      • ExtensionPane

        public ExtensionPane​(org.openqa.selenium.WebElement container)
        Creates a new instance.
        Parameters:
        container - the element that wraps the extension display
    • Method Detail

      • getStatus

        public String getStatus()
        Returns:
        the extension status (loading, core, installed, remote, remote-installed, remote-core, remote-installed-incompatible, remote-core-incompatible)
      • getStatusMessage

        public String getStatusMessage()
        Returns:
        the extension status message
      • getId

        public org.xwiki.extension.ExtensionId getId()
        Returns:
        the extension identifier
      • getName

        public String getName()
        Returns:
        the extension name
      • getVersion

        public String getVersion()
        Returns:
        the extension version
      • getAuthors

        public List<org.openqa.selenium.WebElement> getAuthors()
        Returns:
        the extension authors
      • getSummary

        public String getSummary()
        Returns:
        the extension summary
      • showDetails

        public ExtensionPane showDetails()
        Clicks on the show details button.
        Returns:
        the extension pane showing the extension details
      • getShowDetailsButton

        public org.openqa.selenium.WebElement getShowDetailsButton()
        Returns:
        the button used to show the extension details
      • hideDetails

        public ExtensionPane hideDetails()
        Clicks on the hide details button.
        Returns:
        the extension pane that doesn't show the extension details
      • getHideDetailsButton

        public org.openqa.selenium.WebElement getHideDetailsButton()
        Returns:
        the button used to hide the extension details
      • install

        public ExtensionPane install()
        Clicks on the install button and waits for the install plan to be computed.
        Returns:
        the extension pane displaying the install plan
      • getInstallButton

        public org.openqa.selenium.WebElement getInstallButton()
        Returns:
        the install button, if present
      • uninstall

        public ExtensionPane uninstall()
        Clicks on the uninstall button and waits for the uninstall plan to be computed.
        Returns:
        the extension pane displaying the uninstall plan
      • getUninstallButton

        public org.openqa.selenium.WebElement getUninstallButton()
        Returns:
        the uninstall button, if present
      • upgrade

        public ExtensionPane upgrade()
        Clicks on the upgrade button and waits for the upgrade plan to be computed.
        Returns:
        the extension pane displaying the upgrade plan
      • getUpgradeButton

        public org.openqa.selenium.WebElement getUpgradeButton()
        Returns:
        the upgrade button, if present
      • downgrade

        public ExtensionPane downgrade()
        Clicks on the downgrade button and waits for the downgrade plan to be computed.
        Returns:
        the extension pane displaying the downgrade plan
      • getDowngradeButton

        public org.openqa.selenium.WebElement getDowngradeButton()
        Returns:
        the downgrade button, if present
      • confirm

        public ExtensionPane confirm()
        Confirms the current action and wait for it to be performed.
        Returns:
        the extension pane displaying the extension after the current action has been performed
      • confirm

        public ExtensionPane confirm​(int timeout)
        Confirms the current action and wait for it to be performed.
        Parameters:
        timeout - the maximum number of seconds to wait for the end
        Returns:
        the extension pane displaying the extension after the current action has been performed
      • getContinueButton

        public org.openqa.selenium.WebElement getContinueButton()
        Returns:
        the button used to continue the current job or to execute a previously computed job plan
      • openDescriptionSection

        public ExtensionDescriptionPane openDescriptionSection()
        Selects the extension description tab.
        Returns:
        the extension description section
      • openDependenciesSection

        public ExtensionDependenciesPane openDependenciesSection()
        Selects the extension dependencies tab.
        Returns:
        the extension dependencies section
      • openProgressSection

        public ExtensionProgressPane openProgressSection()
        Selects the extension progress tab.
        Returns:
        the extension progress section
      • getProgressBar

        public ProgressBarPane getProgressBar()
        Returns:
        the progress bar pane