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

关于登陆滑动条验证问题 #9

Open
LLLLLin opened this issue May 23, 2019 · 1 comment
Open

关于登陆滑动条验证问题 #9

LLLLLin opened this issue May 23, 2019 · 1 comment

Comments

@LLLLLin
Copy link

LLLLLin commented May 23, 2019

主要是大麦会对selenium检测,检测到driver模拟登陆即使你手动划也不能通过,
解决方法是修改window.navigator.webdrive
修改代码为
'''
option = webdriver.ChromeOptions()
option.add_experimental_option("prefs", {"profile.managed_default_content_settings.images": 2})
option.add_experimental_option('excludeSwitches', ['enable-automation'])
chromedriver = r"driver/chromedriver.exe"
driver = webdriver.Chrome(chromedriver,options=option)
'''

@TinaryTree
Copy link
Owner

感谢!

@TinaryTree TinaryTree added good first issue Good for newcomers wontfix This will not be worked on and removed good first issue Good for newcomers wontfix This will not be worked on labels May 24, 2019
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

2 participants