Code Monkey home page Code Monkey logo

ticket-purchase's People

Contributors

thomas-art avatar weceng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ticket-purchase's Issues

网页版bug

网页版的,在选择人员和座位那里遇到问题,它网页中没有相关的表单信息弹出,所以不能继续进行,还望作者可以支持!感谢!

有偿代抢热门演唱会票

有偿代抢热门演唱会票,服务费票价5%~10%,具体看心情,成功率8成,不包一定抢到,抢到付款无风险,抢票需服从调剂,即任何场次任何座位想看就别挑!

版本太新了吗

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

是版本太新了吗

运行没有响应

我配置好了环境,启动了appium server并使用uiautomator2驱动
image
然后我新开窗口运行了python3 damai_appium.py,没有弹出窗口
image

中间是不是我哪步漏掉了,对安卓调试这块不是很熟悉,作者能不能讲解一下教程,【在代码中引入并使用appium】这块内容要在哪里配置,还有我这个流程对不对,是直接连上手机 运行py吗

选定城市

想问一下,没有选定城市,config填了空 但是一直卡在选定城市这里 怎么办
image

报错

io.appium.uiautomator2.common.exceptions.StaleElementReferenceException: Cached elements 'By.id: tv_tour_city' do not exist in DOM anymore 请问下这个是怎么回事啊?

image

关于错误的友好提问

票虽然还没开卖,但是出现下面错误:
[26120:21204:0202/023133.666:ERROR:device_event_log_impl.cc(192)] [02:31:33.666] USB: usb_service_win.cc:105 SetupDiGetDeviceProperty({{A45C254E-DF1C-4EFD-8020-67D146A850E0}, 6}) failed: 找不到元素。 (0x490)
error

pyhon版本:3.11.5

启动失败

image
我已经pip3中安装了appium-python-client
运行后还是报错找不到appium,这是什么原因大佬
image

关于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列出的启动名称嘛?

抢到票啦

好消息,抢到票啦
IMG_5525

坏消息,手动抢的;😈

appium的信息

启动服务器后,还有一条这个:[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.

zsh: command not found: appium

请问下,我npm install -g appium之后查看是否安装成功(appium -v)显示zsh: command not found: appium如何解决呢?
环境:Pycharm,AndroidStudio(SDK,NDK,ADB),Mac,node 18.0.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.