Documentation ¶
Index ¶
- func BeInFrameAt(x, y int) gomegaTypes.GomegaMatcher
- func GetBgColour(x, y int) [3]int32
- func GetFgColour(x, y int) [3]int32
- func GetFrame() string
- func GetText(x, y, length int) string
- func GotoURL(url string)
- func Keyboard(keys string)
- func SpecialKey(key tcell.Key)
- func WaitForPageLoad()
- func WaitForText(text string, x, y int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeInFrameAt ¶
func BeInFrameAt(x, y int) gomegaTypes.GomegaMatcher
BeInFrameAt is a custom matcher that looks for the expected text at the given coordinates.
func GetBgColour ¶
GetBgColour returns the background colour of a single cell
func GetFgColour ¶
GetFgColour returns the foreground colour of a single cell
func Keyboard ¶
func Keyboard(keys string)
Keyboard types a string of keys into the TTY, as if a user would
func SpecialKey ¶
SpecialKey injects a special key into the TTY. See Tcell's `keys.go` file for all the available special keys.
func WaitForText ¶
WaitForText waits for a particular string at particular position in the frame
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.