MCPcopy Create free account
hub / github.com/tebeka/selenium / SendModifier

Method SendModifier

remote.go:1047–1052  ·  view source on GitHub ↗
(modifier string, isDown bool)

Source from the content-addressed store, hash-verified

1045}
1046
1047func (wd *remoteWD) SendModifier(modifier string, isDown bool) error {
1048 if isDown {
1049 return wd.KeyDown(modifier)
1050 }
1051 return wd.KeyUp(modifier)
1052}
1053
1054func (wd *remoteWD) keyAction(action, keys string) error {
1055 type keyAction struct {

Callers

nothing calls this directly

Calls 2

KeyDownMethod · 0.95
KeyUpMethod · 0.95

Tested by

no test coverage detected