• 是否版本问题 at 2015年06月19日

    为什么 在官网上 代码是
    from appium import webdriver 很多人用的是 from selenium import webdriver?这有什么不同吗?

  • 楼主大大,这个 apk 怎么下载,云盘不能用了。可以给新地址不,谢谢

  • 是否版本问题 at 2014年08月14日

    我的测试代码 from appium import webdriver
    desired_caps = {}
    desired_caps['platformName'] = 'Android'
    desired_caps['platformVersion'] = '4.2.2'
    desired_caps['deviceName'] = 'Android Emulator'
    desired_caps['appPackage'] = 'com.android.calculator2'
    desired_caps['appActivity'] = '.Calculator'

    driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)

    运行后的错误提示,请高手帮我看看,谢谢
    C:\Python27\python.exe D:/pythonproject/s2.py
    Traceback (most recent call last):
    File "D:/pythonproject/s2.py", line 9, in
    driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub', desired_caps)
    File "build\bdist.win32\egg\appium\webdriver\webdriver.py", line 35, in init
    File "C:\Python27\lib\site-packages\selenium-2.42.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 73, in init
    self.start_session(desired_capabilities, browser_profile)
    File "C:\Python27\lib\site-packages\selenium-2.42.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 121, in start_session
    'desiredCapabilities': desired_capabilities,
    File "C:\Python27\lib\site-packages\selenium-2.42.0-py2.7.egg\selenium\webdriver\remote\webdriver.py", line 170, in execute
    response = self.command_executor.execute(driver_command, params)
    File "C:\Python27\lib\site-packages\selenium-2.42.0-py2.7.egg\selenium\webdriver\remote\remote_connection.py", line 347, in execute
    return self._request(command_info[0], url, body=data)
    File "C:\Python27\lib\site-packages\selenium-2.42.0-py2.7.egg\selenium\webdriver\remote\remote_connection.py", line 415, in _request
    resp = opener.open(request)
    File "C:\Python27\lib\urllib2.py", line 404, in open
    response = self._open(req, data)
    File "C:\Python27\lib\urllib2.py", line 422, in _open
    '_open', req)
    File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
    result = func(*args)
    File "C:\Python27\lib\urllib2.py", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
    File "C:\Python27\lib\urllib2.py", line 1187, in do_open
    r = h.getresponse(buffering=True)
    File "C:\Python27\lib\httplib.py", line 1045, in getresponse
    response.begin()
    File "C:\Python27\lib\httplib.py", line 409, in begin
    version, status, reason = self._read_status()
    File "C:\Python27\lib\httplib.py", line 373, in _read_status
    raise BadStatusLine(line)
    httplib.BadStatusLine: ''

  • 新人安装 appium 求助 at 2014年08月12日

    多谢多谢,公司不能上 q

  • 报名啊,学习先进技术啊