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

修改了jd_login main中的bug #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jd_login/Method_Second/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ def login():
password = base64.b64decode(password)
password = password.decode()

# 一定要点击一下切换选项卡,不然无法交互
browser_login.find_element_by_link_text('账户登录').click()

#找到输入框
input_username = browser_login.find_element_by_name('loginname')
#输入用户名
Expand Down