Class Rail

    • Constructor Detail

      • Rail

        public Rail()
        Default constructor.
    • Method Detail

      • panels

        public com.codeborne.selenide.ElementsCollection panels()
        Gets the panels inside the rail.
        Returns:
        panels inside the rail.
      • isOpen

        public boolean isOpen()
        Whether the rail is open or not.
        Returns:
        true if the rail is open, otherwise false.
      • getPanelByName

        public com.codeborne.selenide.SelenideElement getPanelByName​(EnumRail rail)
        Returns a panel based on the name.
        Parameters:
        rail - - the name of the panel.
        Returns:
        the panel element.
      • getPanelBySelector

        public com.codeborne.selenide.SelenideElement getPanelBySelector​(java.lang.String selector)
        Returns a panel based on the selector.
        Parameters:
        selector - - selector used to identify the panel.
        Returns:
        the panel element.