-
Notifications
You must be signed in to change notification settings - Fork 9
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
找不到password请问是为什么呢 #2
Comments
因为前阵子认证系统升级了 |
可以用自己的电脑访问认证网页,看下新系统的认证秘密框长啥样。我已经毕业好多年了 |
好嘞 感谢 |
大佬你有修改的代码吗 可否共享一下 我修改了还是出错呢 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "/home/hls/houls/hitsz-web/hitsz_net.py", line 97, in
init()
File "/home/hls/houls/hitsz-web/hitsz_net.py", line 41, in init
pwd_input = driver.find_element(By.ID, 'password')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hls/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 1244, in find_element
return self.execute(Command.FIND_ELEMENT, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hls/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute
self.error_handler.check_response(response)
File "/home/hls/anaconda3/lib/python3.12/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="password"]"}
(Session info: headless chrome=96.0.4664.45)
Stacktrace:
#0 0x608689d38ee3
#1 0x608689806608
#2 0x60868983caa1
#3 0x60868983cc61
#4 0x60868986f714
#5 0x60868985a29d
#6 0x60868986d3bc
#7 0x60868985a163
#8 0x60868982fbfc
#9 0x608689830c05
#10 0x608689d6abaa
#11 0x608689d80651
#12 0x608689d6bb05
#13 0x608689d81a68
#14 0x608689d6005f
#15 0x608689d9c818
#16 0x608689d9c998
#17 0x608689db7eed
#18 0x715ee0294ac3
The text was updated successfully, but these errors were encountered: