【问题标题】:Appium go to URL on iOS (real device) will encounter "('Connection aborted.', BadStatusLine("''",))"Appium在iOS(真实设备)上去URL会遇到"('Connection aborted.', BadStatusLine("''",))"
【发布时间】:2020-04-24 22:24:56
【问题描述】:

我的 Python Appium 客户端版本是 0.48

我在iOS真机上使用Appium去URL:

iOS_driver.get("http://link.xxx/")

会遇到错误:

raise BadStatusLine(line)
ProtocolError: ('Connection aborted.', BadStatusLine("''",))

有没有其他方法可以在iOS真机上打开url或者deep link?

【问题讨论】:

    标签: python ios webdriver appium


    【解决方案1】:

    它是这样工作的:

    driver.get("theapp://path/);,其中路径是实际链接

    真实例子: driver.get("theapp://login/user1/test123456");

    您可以查看有关它的文章here

    【讨论】:

      猜你喜欢
      • 2023-03-30
      • 2018-11-18
      • 2016-02-04
      • 2016-01-15
      • 2014-10-07
      • 2018-09-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多