Files
openchamber-android-native/third_party/mygo/plugins/automation/menu_darwin.go
T

14 lines
392 B
Go
Raw Normal View History

//go:build darwin && !ios && !mygo_noinspector && !ios
package automation
import (
"github.com/egoist/mygo"
"github.com/egoist/mygo/internal/darwin"
)
// chooseMenuItem chooses an item of the application menu by the titles
// along its path, as the menu bar does. Main thread only.
func chooseMenuItem(_ *mygo.Window, path []string) error {
return darwin.TestPerformMenuItem(path...)
}