Steps for virtual display.
Methods
-
<async> startXvfb( [opts])
-
Step to start virtual display. Step recall will be skipped if virtual display wasn't stopped before.
Parameters:
Name Type Argument Description optsobject <optional>
Step options.
Properties
Name Type Argument Default Description widthnumber <optional>
Virtual display width. Default is active display width.
heightnumber <optional>
Virtual display height. Default is active display height.
depthnumber <optional>
24 Virtual display color depth.
timeoutnumber <optional>
1 Time to wait for virtual display will be started, sec.
Returns:
trueif step was executed,falseif was skipped.
- Type
- Promise.<boolean>
-
stopXvfb()
-
Step to stop virtual display. Step call will be skipped if virtual display wasn't started before.
Returns:
trueif step was executed,falseif was skipped.
- Type
- boolean