Comments (25)
@E1se2t 这种情况目前在处理着
from ticket-purchase.
appium driver install uiautomator2
from ticket-purchase.
@stone-98 嗯嗯,后续会完善使用教程
from ticket-purchase.
需要使用app,需要连接真实设备。不进行调试的话不需要装模拟器。
YourDeviceName可以不填,非必填
from ticket-purchase.
您好~使用真实设备的话,是否有对应的教程呢?因为不太熟悉安卓这块。
from ticket-purchase.
连USB或者连同一个无线网络,然后用 adb devices命令检测一下是否存在可用设备。若存在,启动程序会自动连接
from ticket-purchase.
from ticket-purchase.
npm install appium-uiautomator2-driver 使用该命令安装驱动
from ticket-purchase.
from ticket-purchase.
我安装完成之后
C:\Users\admin>appium driver list
√ Listing available drivers list
- uiautomator2 [not installed]
- xcuitest [not installed]
- mac2 [not installed]
- espresso [not installed]
- safari [not installed]
- gecko [not installed]
- chromium [not installed]
显示uiautomator2 [not installed]no active sessions for cleanup,不知道什么原因。
from ticket-purchase.
adb devices命令检测一下是否存在可用设备
from ticket-purchase.
是显示了有设备的,我安装了雷电模拟器,是否需要指定启动名称呢?
from ticket-purchase.
需要使用app,需要连接真实设备。不进行调试的话不需要装模拟器。 YourDeviceName可以不填,非必填
YourDeviceName我没有填,那它会找不到设备嘛?
from ticket-purchase.
不会
from ticket-purchase.
奇怪的是我使用npm install appium-uiautomator2-driver
安装完成后,通过appium driver list,却显示它没有安装.
from ticket-purchase.
@OyeNeko uiautomator2?不是appium-uiautomator2-driver嘛?
from ticket-purchase.
appium driver install uiautomator2
我安装uiautomator2后,没有驱动问题了,我再试试,感谢
from ticket-purchase.
# 操作系统版本
device_app_info.set_capability('platformVersion', '10')
上述显示设置的os版本为10,我的模拟器的版本为9,我将它改为9有什么影响嘛?@WECENG
from ticket-purchase.
改成对应版本
from ticket-purchase.
@WECENG 感谢~
from ticket-purchase.
@WECENG 你使用的时候,有出现过就是抢票的频率过高,需要输入验证码嘛?
from ticket-purchase.
from ticket-purchase.
@OyeNeko uiautomator2?不是appium-uiautomator2-driver嘛?
@WECENG 这个感觉可以在教程上面完善一下~
from ticket-purchase.
from ticket-purchase.
@EXPi0 服务端没启动吧
from ticket-purchase.
Related Issues (20)
- 作者 求答疑 配置很久了 配置完appuim 运行项目 还是一样网页抢票 没有app抢票啊 HOT 1
- 作者 求答疑 运行appuim 但是雷电模拟器没反应
- 感觉都成功运行了 但是雷电模拟器就只是打开了大麦的app 就没动作了。。。。 HOT 4
- 礼貌询问还在更新吗?是否有群聊 HOT 4
- 关于错误的友好提问 HOT 1
- 大佬能出个releaxex包吗
- 选定城市 HOT 3
- 虚心求教,请问一下大佬是怎么看到大麦页面app代码的 HOT 3
- 大佬能看看嘛,卡住了,今天就是邓紫棋的票了 HOT 6
- 有没有大佬看看问题,安装了appium-uiautomator2-driver且没有报错,但是下一步的时候提示没有安装uiautomator2是为什么 HOT 9
- APP端抢票,‘立即购买’按钮文字找不到的问题,貌似是APP更新导致的 HOT 6
- 网页版大麦抢票,在config中写了两个user,但是运行后每次的订单都只有一张票是为什么,急,求解答! HOT 5
- 热门演唱会能抢成功吗? HOT 1
- 抢票
- 无法下单,"立即购买"按钮不是textview了 HOT 6
- 请问作者是怎么绕过滑块验证的?这块有兄弟懂的吗? HOT 10
- 在下载appium的过程中,npm 尝试从 https://registry.npm.taobao.org/appium 下载文件时,SSL 证书已经过期了。 HOT 1
- zsh: command not found: appium HOT 1
- 登陆大麦滑动窗口验证失败点击框体重试 HOT 5
- 有偿代抢热门演唱会票 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ticket-purchase.