設想
我正在嘗試在 iOS 真實設備上運行自動化測驗,但是,每次啟動 Appium 檢查器會話時,客戶端都會顯示應用程式的加載頁面,并且永遠不會重繪 以更新檢查器并顯示主頁。
問題
當我在 Appium 上手動按下重繪 按鈕時,會顯示微調器,并且需要很長時間來重繪 檢查器。這發生在與應用程式的每次互動中。
給定的
- iOS真機:iPhone 12
- iOS版本:15.1.1
- Appium 客戶端:1.15.0 然后試了 1.17.0
使用的功能
{ "platformName": "iOS", "platformVersion": "15.1.1", "deviceName": "iPhone 12", "automationName": "XCUITest", "autoAcceptAlerts": "true", "bundleId": "com .xxxxx.xxxxx", "xcodeOrgId": "xxxxxxxxxx", "xcodeSigningId": "iPhone Developer", "updatedWDABundleId": "com.facebook.WebDriverAgentRunner", "app": "/{path-to-ipaFile}/appFile .ipa", "udid": "xxxxxxxx-xxxxxxxxxxxxxxxx" }
網路驅動程式代理
請注意,WebDriverAgent 應用程式是受信任的(常規 -> VPN 和設備管理)。
您可以在
uj5u.com熱心網友回復:
結果發現 Appium 中的 getSession() 函式由于表串列很大而需要很長時間才能獲得回應,當我從串列中洗掉專案時,Appium 再次快速并且 getSession() 沒有花費很長時間才能獲得回應.
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/388851.html
標籤:ios iPhone 自动化 appium-ios 最可爱的
