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