如使用
driver.get(‘百度安全验证’)
,浏览器能打开,但是页面无法打开,不晓得是不是因为参数中有特殊字符导致,如果把url换成一般的url,如python就可以正常打开页面_百度搜索
appium中的日志
[HTTP] → POST /wd/hub/session/b00b3b61-de7f-49c2-a1a7-cf902fdb908f/url
[HTTP] {“url”:“百度安全验证”}
[MJSONWP (b00b3b61)] Calling AppiumDriver.setUrl() with args: [“规范信贷融资收费 六部门:不得以断贷为由提高贷款利率”]
[ADB] Running ‘D:\software\sdk-tools-windows-3859397\tools\platform-tools\adb.exe -P 5037 -s DSLDU20402011273 shell am start -W -a android.intent.action.VIEW -d https\://mbd.baidu.com/newspage/data/landingsuper\?context\=%7B%22nid%22%3A%22news_9501704239938886873%22%7D\\\&n_type\=0\\\&p_from\=1 com.android.chrome’
[MJSONWP (b00b3b61)] Responding to client with driver.setUrl() result: null
[HTTP] ← POST /wd/hub/session/b00b3b61-de7f-49c2-a1a7-cf902fdb908f/url 200 530 ms - 76
[HTTP]
[HTTP] → POST /wd/hub/session/b00b3b61-de7f-49c2-a1a7-cf902fdb908f/element
不知道怎么解决这种问题