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 opts
object <optional>
Step options.
Properties
Name Type Argument Default Description width
number <optional>
Virtual display width. Default is active display width.
height
number <optional>
Virtual display height. Default is active display height.
depth
number <optional>
24 Virtual display color depth.
timeout
number <optional>
1 Time to wait for virtual display will be started, sec.
Returns:
true
if step was executed,false
if was skipped.
- Type
- Promise.<boolean>
-
stopXvfb()
-
Step to stop virtual display. Step call will be skipped if virtual display wasn't started before.
Returns:
true
if step was executed,false
if was skipped.
- Type
- boolean