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

ChromeDriver Fix (WebDriver object has no attribute 'find_element_by*') #38

Open
mdnava opened this issue Mar 24, 2023 · 0 comments
Open

Comments

@mdnava
Copy link

mdnava commented Mar 24, 2023

To fix the use of ChromeDriver (to allow 100+ image downloads)..
(These can be found around line 321+ depending on existing previous mods):

#browser.find_element_by_css_selector("[aria-label='Accept all']").click()
browser.find_element(By.CSS_SELECTOR, "[aria-label='Accept all']").click()
#element = browser.find_element_by_tag_name("body")
element = browser.find_element(By.TAG_NAME, "body")
#browser.find_element_by_xpath('//input[@value="Show more results"]').click()
browser.find_element(By.XPATH, '//input[@value="Show more results"]').click()

This might be related to: #25 #30 #31 #37

@mdnava mdnava changed the title ChromeDriver Fix ChromeDriver Fix (WebDriver object has no attribute 'find_element_by*') Mar 24, 2023
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

1 participant