weceng / ticket-purchase Goto Github PK
View Code? Open in Web Editor NEW大麦自动抢票,支持人员、城市、日期场次、价格选择
大麦自动抢票,支持人员、城市、日期场次、价格选择
应该是Apple M1的Chip
试了各种Android version。不是po主的问题,其他M1芯片看到可以绕过Appium这个方法吧。
我试了一下好像很慢啊,而且感觉就是只是帮忙点屏幕而已啊,就很好奇一定能抢得到吗。
作者可以帮我安装一下吗?可以有偿
Traceback (most recent call last):
File "/Users/user/WorkSpace/ticket-purchase/damai_appium/damai_app.py", line 53, in
driver.find_element(by=By.ID, value='homepage_header_search_btn').click()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/appium/webdriver/webdriver.py", line 381, in find_element
return self.execute(RemoteCommand.FIND_ELEMENT, {'using': by, 'value': value})['value']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.11/site-packages/appium/webdriver/errorhandler.py", line 125, in check_response
raise exception_class(msg=message, stacktrace=format_stacktrace(stacktrace))
selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
是版本太新了吗
佬 整个app的
反复失败,登不上去
网页版的,在选择人员和座位那里遇到问题,它网页中没有相关的表单信息弹出,所以不能继续进行,还望作者可以支持!感谢!
如果需要使用app,是否还需要安装模拟器呢?
device_app_info = AppiumOptions()
# 操作系统
device_app_info.set_capability('platformName', 'Android')
# 操作系统版本
device_app_info.set_capability('platformVersion', '10')
# 设备名称
device_app_info.set_capability('deviceName', 'YourDeviceName')
# app package
device_app_info.set_capability('appPackage', 'cn.damai')
# app activity name
device_app_info.set_capability('appActivity', '.launcher.splash.SplashMainActivity')
# 使用unicode输入
device_app_info.set_capability('unicodeKeyboard', True)
# 隐藏键盘
device_app_info.set_capability('resetKeyboard', True)
# 不重置app
device_app_info.set_capability('noReset', True)
# 超时时间
device_app_info.set_capability('newCommandTimeout', 6000)
# 使用uiautomator2驱动
device_app_info.set_capability('automationName', 'UiAutomator2')
# 连接appium server,server地址查看appium启动信息
driver = webdriver.Remote(config.server_url, options=device_app_info)
YourDeviceName
是指adb devices
列出的启动名称嘛?
有偿代抢热门演唱会票,服务费票价5%~10%,具体看心情,成功率8成,不包一定抢到,抢到付款无风险,抢票需服从调剂,即任何场次任何座位想看就别挑!
网页抢票工具已经不能用了, 网页会提示用户通过手机app去下单
appium可以链接iOS吗
如题
请问作者有无方法解决?
是否可以引入账号登陆后的商品详情页全部cookies来解决呢?
请问下,我npm install -g appium之后查看是否安装成功(appium -v)显示zsh: command not found: appium如何解决呢?
环境:Pycharm,AndroidStudio(SDK,NDK,ADB),Mac,node 18.0.0
如图所示时代少年团只能APP抢票还需要特权码,貌似不能抢
启动服务器后,还有一条这个:[Appium] No drivers have been installed in C:\Users\ACIP.appium. Use the "appium driver" command to install the one(s) you want to use.
在下载appium的过程中,npm 尝试从 https://registry.npm.taobao.org/appium 下载文件时,SSL 证书已经过期了。
可通过设置 npm 使用非安全的 registry 地址来跳过 SSL 检查
npm config set registry http://registry.npmjs.org/
再进行下载
npm install -g appium
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.