gwda
gwda 是一个用 Golang 实现的库,用于控制 iOS 和 iPadOS 设备,提供类似 Selenium 的操作功能,支持点击、滑动、应用管理等操作。
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
Sora Watermark Remover - Allows you to remove the watermark from Sora videos.Try Now
gwda 是一个用 Golang 实现的库,用于控制 iOS 和 iPadOS 设备,提供类似 Selenium 的操作功能,支持点击、滑动、应用管理等操作。
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
Golang 实现 appium/WebDriverAgent 的客户端库,使得 Gopher 也可以编写代码来控制 iOS iPadOS 设备的各种操作。> 类似 tebeka/selenium 控制浏览器的操作行为#### 项目地址https://github.com/electricbubble/gwda#### 部分操作函数展示gopackage mainimport ("github.com/electricbubble/gwda""log")func main() {// var urlPrefix = "http://localhost:8100"// 该函数或许还需要 `iproxy 8100 8100` 先进行设备端口转发// driver, _ := gwda.NewDriver(nil, urlPrefix)// 通过 USB 直连设备driver, _ := gwda.NewUSBDriver(nil)x, y := 50, 256driver.Tap(x, y)driver.DoubleTap(x, y)driver.TouchAndHold(x, y)fromX, fromY, toX, toY := 50, 256, 100, 256driver.Drag(fromX, fromY, toX, toY)driver.Swipe(fromX, fromY, toX, toY)// 需要 3D Touch 硬件支持// driver.ForceTouch(x, y, 0.8)var bundleId = "com.apple.Preferences"driver.AppLaunchUnattached(bundleId)driver.AppDeactivate(2)driver.AppTerminate(bundleId)driver.AppActivate(bundleId)// 重置当前 App 的 相机📷 权限// driver.AppAuthReset(gwda.ProtectedResourceCamera)driver.SendKeys("hello")driver.SiriActivate("What's the weather like today")deviceInfo, _ := driver.DeviceInfo()log.Println(deviceInfo.Name)batteryInfo, _ := driver.BatteryInfo()log.Println(batteryInfo.State)windowSize, _ := driver.WindowSize()log.Println(windowSize)// driver.Homescreen()driver.PressButton(gwda.DeviceButtonHome)driver.PressButton(gwda.DeviceButtonVolumeUp)driver.PressButton(gwda.DeviceButtonVolumeDown)}Seedance 2 Delivers High Fidelity Motion and Audio Sync
Nano Banana AI Image Generator for Professional Image Creation with Nano Banana Pro Models
Create Cinematic AI Videos from Text or Images with Seedance 1.5
The Tatted AI Tattoo Generator is a tool that allows you to create beautiful custom tattoos within seconds.
Discover your PSL (Perceived Sexual Market Value) score with our AI-powered facial analysis
IPYNB to PDF Converter – Free & Secure