Getting the exception in latest Appium Library for get("logcat") for Android device
維護者通常 5 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 領域
- mobile, testing-qa
研究方向
從 issue 中描述的 AndroidDriver 以及 manage().logs().get("logcat") 和 getAvailableLogTypes() 呼叫開始,比較 Java client 7.5.1 與 8.0.0。檢視連結的 Appium 記錄和 W3C logging 行為,以判斷 404 是 client 回歸問題,還是 endpoint 無法使用。完成標準是找出原因並記錄或修正此行為,同時對 Android 記錄擷取進行回歸檢查。
由索引模型根據 Issue 內容生成。
描述
Description
When we try to get the logs from manage().logs().get("logcat") we are getting 404 errors, till 7.5.1 version this method was working fine, but when we have switched to 8.0.0 Java client this is throwing the error.
Environment
- Java client build version : Java client library 8.0.0
- Real device or emulator/simulator: Real Device
- Cloud Platform : Sauce Labs
- App : Native App
Details
We have tried the below steps :
AndroidDriver mobileAndroidDriver = new AndroidDriver ();
mobileAndroidDriver.manage().logs().get("logcat") throws 404 error
mobileAndroidDriver.manage().logs().getAvailableLogTypes() Also throws errors
AppiumDriver driver = new AndroidDriver();
driver.manage().logs().get("logcat") throws 404 error.
driver.manage().logs().getAvailableLogTypes() Also throws errors
As we cannot call now AppiumDriver driver = new AndroidDriver(); in new Java clent, we tried with AndroidDriver mobileAndroidDriver = new AndroidDriver (); still no luck.
We couldnt see any doc mentioning there is a change of this logs as its not deprecated.
Link To Appium Logs
(https://gist.github.com/krnnarayan/e1e7f8ea446b2a25c69ab86a53c52a11)
- 主要語言
- Java
- 星號
- 1.3k
- 分支
- 755
- 平均合併
- 5 天 14 小時
- 30 天內合併 PR
- 8
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
appium/java-client 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
appium/java-client#2426 ·
維護者通常 5 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 50/100
appium/java-client#2372 ·
維護者通常 5 天內回覆
-
難度 5/5 一週以上 新手友好度 30/100
appium/java-client#2368 ·
維護者通常 5 天內回覆
-
難度 2/5 1-3 小時 新手友好度 30/100
appium/java-client#2341 · 1 則留言 ·
維護者通常 5 天內回覆
-
難度 5/5 一週以上 新手友好度 15/100
appium/java-client#2323 ·
維護者通常 5 天內回覆
查看 appium/java-client 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 88/100
apache/arrow-java#1311 ·
維護者通常 2 天內回覆
-
bug triage
難度 2/5 1-3 小時 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
security
難度 2/5 1-3 小時 新手友好度 65/100
IBM/networking-java-sdk#204 ·
-
bug Technical Debt
難度 2/5 1-3 小時 新手友好度 78/100
avniproject/avni-server#1080 ·