Class SideCommand

  • All Implemented Interfaces:
    ICommand

    public class SideCommand
    extends Object
    implements ICommand
    "command" element of side format.

    See: https://github.com/SeleniumHQ/selenium-ide/blob/v3.8.1/packages/selenium-ide/src/neo/models/Command/index.js

    • Constructor Detail

      • SideCommand

        public SideCommand​(boolean isGen)
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: ICommand
        Get id.
        Specified by:
        getId in interface ICommand
        Returns:
        id.
      • setId

        public void setId​(String id)
      • getComment

        public String getComment()
        Description copied from interface: ICommand
        Get comment.
        Specified by:
        getComment in interface ICommand
        Returns:
        comment.
      • setComment

        public void setComment​(String comment)
      • getCommand

        public String getCommand()
        Description copied from interface: ICommand
        Get command name.
        Specified by:
        getCommand in interface ICommand
        Returns:
        command name.
      • setCommand

        public void setCommand​(String command)
      • getTarget

        public String getTarget()
        Description copied from interface: ICommand
        Get target.
        Specified by:
        getTarget in interface ICommand
        Returns:
        target.
      • setTarget

        public void setTarget​(String target)
      • getValue

        public String getValue()
        Description copied from interface: ICommand
        Get value.
        Specified by:
        getValue in interface ICommand
        Returns:
        value.
      • setValue

        public void setValue​(String value)
      • isBreakpoint

        public boolean isBreakpoint()
        Description copied from interface: ICommand
        Check breakpoint at this command.
        Specified by:
        isBreakpoint in interface ICommand
        Returns:
        true if breakpoint.
      • setBreakpoint

        public void setBreakpoint​(boolean isBreakpoint)
      • isOpensWindow

        public boolean isOpensWindow()
        Description copied from interface: ICommand
        Check this command opens window.
        Specified by:
        isOpensWindow in interface ICommand
        Returns:
        true if open window.
      • setOpensWindow

        public void setOpensWindow​(boolean opensWindow)
      • getWindowHandleName

        public String getWindowHandleName()
        Description copied from interface: ICommand
        Get window handle name for opening window.
        Specified by:
        getWindowHandleName in interface ICommand
        Returns:
        window handle name.
      • setWindowHandleName

        public void setWindowHandleName​(String windowHandleName)
      • getWindowTimeout

        public long getWindowTimeout()
        Description copied from interface: ICommand
        Get window timeoue.
        Specified by:
        getWindowTimeout in interface ICommand
        Returns:
        timeout (ms).
      • setWindowTimeout

        public void setWindowTimeout​(long windowTimeout)
      • isOpensWindowRead

        public boolean isOpensWindowRead()
        Description copied from interface: ICommand
        ???
        Specified by:
        isOpensWindowRead in interface ICommand
        Returns:
        ???
      • setOpensWindowRead

        public void setOpensWindowRead​(boolean opensWindowRead)