Class SideCommand
java.lang.Object
jp.vmi.selenium.runner.model.side.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 Summary
Constructors Constructor Description SideCommand(boolean isGen) -
Method Summary
Modifier and Type Method Description StringgetCommand()Get command name.StringgetComment()Get comment.StringgetId()Get id.StringgetTarget()Get target.List<List<String>>getTargets()StringgetValue()Get value.StringgetWindowHandleName()Get window handle name for opening window.longgetWindowTimeout()Get window timeoue.booleanisBreakpoint()Check breakpoint at this command.booleanisOpensWindow()Check this command opens window.booleanisOpensWindowRead()???voidsetBreakpoint(boolean isBreakpoint)voidsetCommand(String command)voidsetComment(String comment)voidsetId(String id)voidsetOpensWindow(boolean opensWindow)voidsetOpensWindowRead(boolean opensWindowRead)voidsetTarget(String target)voidsetTargets(List<List<String>> targets)voidsetValue(String value)voidsetWindowHandleName(String windowHandleName)voidsetWindowTimeout(long windowTimeout)
-
Constructor Details
-
SideCommand
public SideCommand(boolean isGen)
-
-
Method Details
-
getId
Description copied from interface:ICommandGet id. -
setId
-
getComment
Description copied from interface:ICommandGet comment.- Specified by:
getCommentin interfaceICommand- Returns:
- comment.
-
setComment
-
getCommand
Description copied from interface:ICommandGet command name.- Specified by:
getCommandin interfaceICommand- Returns:
- command name.
-
setCommand
-
getTarget
Description copied from interface:ICommandGet target. -
setTarget
-
getTargets
-
setTargets
-
getValue
Description copied from interface:ICommandGet value. -
setValue
-
isBreakpoint
public boolean isBreakpoint()Description copied from interface:ICommandCheck breakpoint at this command.- Specified by:
isBreakpointin interfaceICommand- Returns:
- true if breakpoint.
-
setBreakpoint
public void setBreakpoint(boolean isBreakpoint) -
isOpensWindow
public boolean isOpensWindow()Description copied from interface:ICommandCheck this command opens window.- Specified by:
isOpensWindowin interfaceICommand- Returns:
- true if open window.
-
setOpensWindow
public void setOpensWindow(boolean opensWindow) -
getWindowHandleName
Description copied from interface:ICommandGet window handle name for opening window.- Specified by:
getWindowHandleNamein interfaceICommand- Returns:
- window handle name.
-
setWindowHandleName
-
getWindowTimeout
public long getWindowTimeout()Description copied from interface:ICommandGet window timeoue.- Specified by:
getWindowTimeoutin interfaceICommand- Returns:
- timeout (ms).
-
setWindowTimeout
public void setWindowTimeout(long windowTimeout) -
isOpensWindowRead
public boolean isOpensWindowRead()Description copied from interface:ICommand???- Specified by:
isOpensWindowReadin interfaceICommand- Returns:
- ???
-
setOpensWindowRead
public void setOpensWindowRead(boolean opensWindowRead)
-