Macaca actions 事件二次封装之后,报错 501

孟德功 · 2017年02月18日 · 最后由 恒温 回复于 2017年02月28日 · 1279 次阅读

最近做了一个自动化测试框架,将事件二次封装使用,使用点击/输入...事件时没有问题,但是使用 actions 事件中的拖拽,提示 501

elif index[0]=='拖拽':
    wd.touch('drap',{
    'fromX':index[1],
    'fromY':index[2],
    'toX':index[3],
    'toY':index[4],
    'duration':index[5]})

返回

501 Server Error: Not Implemented for url: http://172.20.29.225:3456/wd/hub/session/8270354a-374f-4df7-a492-3dd25f402b88/actions
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 2 条回复 时间 点赞

治好了我多年的颈椎病😀

手机发的截图

需要 登录 後方可回應,如果你還沒有帳號按這裡 注册