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

报错 #5

Closed
Legolii opened this issue Feb 24, 2021 · 2 comments
Closed

报错 #5

Legolii opened this issue Feb 24, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Legolii
Copy link

Legolii commented Feb 24, 2021

@XYZliang
你好我在用30epro做测试的时候发现报错

COLOR = '亮黑色'

EDITION = '5G全网通 256GB'

COMBO = '官方标配'

颜色选择错误!请手动选择!
版本选择错误!请手动选择!
套餐选择错误!请手动选择!
2021-02-24 16:46:1215502188239准备完毕,开始等待
Exception in thread Thread-1:
Traceback (most recent call last):
File "D:\python3.8.8\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "D:\python3.8.8\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:/Users/LEgo1/Desktop/HUAWEI-STORE-GO-main (1)/HUAWEI-STORE-GO-main/HUAWEI STORE GO.py", line 324, in loginMall
goToBuy(driver, user)
File "C:/Users/LEgo1/Desktop/HUAWEI-STORE-GO-main (1)/HUAWEI-STORE-GO-main/HUAWEI STORE GO.py", line 178, in goToBuy
text = driver.find_elements_by_xpath(
IndexError: list index out of range

Process finished with exit code 0

@XYZliang XYZliang added the bug Something isn't working label Feb 24, 2021
@XYZliang
Copy link
Owner

我在Windows测试的时候也偶尔会出现这个情况。。查找元素失败了。。。因为暂时没有好的解决办法就没有改动。
下次有空我想想办法。
那就暂时只能手动选择配置了~

@XYZliang
Copy link
Owner

XYZliang commented Mar 2, 2021

应该是登陆的毛病。已经在v3.2修复

@XYZliang XYZliang closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants