Class PageEditorPage


  • public final class PageEditorPage
    extends EditorPage
    Editor page class representing Page Editor.
    • Constructor Detail

      • PageEditorPage

        public PageEditorPage​(java.net.URI base,
                              java.lang.String pagePath)
      • PageEditorPage

        public PageEditorPage​(java.lang.String pagePath)
    • Method Detail

      • getLockButton

        public com.codeborne.selenide.SelenideElement getLockButton()
      • getResourceStatusBar

        public com.codeborne.selenide.SelenideElement getResourceStatusBar()
      • enterEditMode

        public PageEditorPage enterEditMode()
                                     throws java.util.concurrent.TimeoutException
        Switch to the Edit Mode of Page Editor.
        Returns:
        self object
        Throws:
        java.util.concurrent.TimeoutException - if something wrong occurred
      • enterLayoutMode

        public PageEditorPage enterLayoutMode()
                                       throws java.util.concurrent.TimeoutException
        Switch to the Layout Mode of Page Editor.
        Returns:
        self object
        Throws:
        java.util.concurrent.TimeoutException - if something wrong occurred
      • enterDeveloperMode

        public PageEditorPage enterDeveloperMode()
                                          throws java.util.concurrent.TimeoutException
        Switch to the Developer Mode of Page Editor.
        Returns:
        self object
        Throws:
        java.util.concurrent.TimeoutException - if something wrong occurred
      • enterTimewarpMode

        public PageEditorPage enterTimewarpMode()
                                         throws java.util.concurrent.TimeoutException
        Switch to the Timewarp Mode of Page Editor.
        Returns:
        self object
        Throws:
        java.util.concurrent.TimeoutException - if something wrong occurred
      • enterAnnotateMode

        public PageEditorPage enterAnnotateMode()
        Switch to the Annotation Mode of Page Editor.
        Returns:
        self object
      • leaveAnnotateMode

        public PageEditorPage leaveAnnotateMode()
        Switch back from Annotation Mode of Page Editor.
        Returns:
        self object
      • getTimewarpDialog

        public TimewarpDialog getTimewarpDialog()
                                         throws java.util.concurrent.TimeoutException
        Returns:
        TimewarpDialog object
        Throws:
        java.util.concurrent.TimeoutException - TimeoutException if component is not visible before Timeout
      • isInEditMode

        public boolean isInEditMode()
        confirms if Editor is in Edit mode
        Returns:
        true if Editor is in Edit Mode, false otherwise
      • isInLayoutMode

        public boolean isInLayoutMode()
        confirms if Editor is in Layout mode
        Returns:
        true if Editor is in Layout Mode, false otherwise
      • isInDeveloperMode

        public boolean isInDeveloperMode()
        confirms if Editor is in Developer mode
        Returns:
        true if Editor is in Developer Mode, false otherwise
      • isInTimewarpMode

        public boolean isInTimewarpMode()
        confirms if Editor is in Timewarp mode
        Returns:
        true if Editor is in Timewarp Mode, false otherwise