How to find all elements on the webpage through scrolling using SeleniumWebdriver and Python
- 阅读更多 关于 How to find all elements on the webpage through scrolling using SeleniumWebdriver and Python
问题 I can't seem to get all elements on a webpage. No matter what I have tried using selenium. I am sure I am missing something. Here's my code. The url has at least 30 elements yet whenever I scrape only 6 elements return. What am I missing? import requests import webbrowser import time from bs4 import BeautifulSoup as bs from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support