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

Cookie issue #85

Open
giacomo1029 opened this issue Jul 2, 2021 · 1 comment
Open

Cookie issue #85

giacomo1029 opened this issue Jul 2, 2021 · 1 comment

Comments

@giacomo1029
Copy link

Hello, I have a problem with the cookie, because in the code there isn't the command to allow the cookie. Can you help me, or update the code. Thanks

@leoniewgnr
Copy link

This one worked for me. Add the two lines in main.py in the login definition after line 219

LOGGER.info("Accepting cookies")
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH,'//*[@id="hf_cookie_text_cookieAccept"]'))).click()

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