I want to scrape the whole website with selenium. I got one class of a product name in a website. I just want to get all the product names under one class name. Without manually copying any id's or XPATH's for each and every product. I have done it by doing this but:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
driver_exe = 'chromedriver'
options = Options()
options.add_argument("--headless")
driver = webdriver.Chrome(executable_path=r"C:\Users\intel\Downloads\Setups\chromedriver.exe", options=options)
driver.get("https://www.justdial.com/Bangalore/Bakeries")
x = driver.find_elements_by_class_name("store-name")
for i in x:
print(i.text)
It's not displaying anything. Why??? Any parsers like beautiful soup will also be accepted mixed with selenium but I want selenium anyways...