Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支付失败 #85

Open
surqing opened this issue Oct 27, 2021 · 2 comments
Open

支付失败 #85

surqing opened this issue Oct 27, 2021 · 2 comments

Comments

@surqing
Copy link

surqing commented Oct 27, 2021

登陆成功
等待到点抢购...
抢购时间点将近,停止自动刷新,准备进入抢购阶段...
已经选中全部商品!!!
开始抢购, 尝试次数: 0
已经点击结算按钮...
没发现提交按钮, 页面未加载, 重试...
没发现提交按钮, 页面未加载, 重试...
没发现提交按钮, 页面未加载, 重试...
已经点击提交订单按钮
开始抢购, 尝试次数: 1
订单已经提交成功,无需继续抢购...
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "E:\CodeBase\Python\taobao\taobao_seckill-master\main.py", line 40, in
b1 = Button(win, text = '开始', command = lambda: run_killer(txt, txt2))
File "E:\CodeBase\Python\taobao\taobao_seckill-master\main.py", line 14, in run_killer
ChromeDrive(seckill_time = seckill_time, password = password).sec_kill()
File "E:\CodeBase\Python\taobao\taobao_seckill-master\seckill\seckill_taobao.py", line 180, in sec_kill
self.pay()
File "E:\CodeBase\Python\taobao\taobao_seckill-master\seckill\seckill_taobao.py", line 186, in pay
element.send_keys(self.password)
File "E:\CodeBase\Python\work\venv\lib\site-packages\selenium\webdriver\remote\webelement.py", line 477, in send_keys
self._execute(Command.SEND_KEYS_TO_ELEMENT,
File "E:\CodeBase\Python\work\venv\lib\site-packages\selenium\webdriver\remote\webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "E:\CodeBase\Python\work\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "E:\CodeBase\Python\work\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
(Session info: chrome=94.0.4606.54)

Process finished with exit code 0
########################################################
以上是我在运行脚本时,注释掉 如图 的异常处理后,支付函数抛出的异常

QQ图片20211027170043
不知道该怎么解决

@LLokk
Copy link

LLokk commented Feb 9, 2022

这是页面没有显示出来提交按钮,因为页面直接提示繁忙了。。。

@chaoshengt
Copy link

这是页面没有显示出来提交按钮,因为页面直接提示繁忙了。。。

说的对,的确是这样,为什么呢?网络原因?还是说被反爬了呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants