After the bot clicks on the first book,it should wait until all quotes are visible; however, it doesn't. It only gets 4 quotes out of 25. It can get the 25 quotes if I time.sleep(10) but this is not efficient. How can I solve this?
class Scraping:
    def __init__(self):
        pass
    def openWebDriver(self):
        chromeOptions = Options()
        self.driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chromeOptions) 
    
    def fetchNotion(self):
        self.driver.get('https://sumptuous-salesman-ca6.notion.site/bf68366a212e45e1ae9bee853867c225?v=85ee9cedeb5a44c994e49033053f593b')
    def getBooks(self):
        books = WebDriverWait(self.driver, 10).until(
            EC.presence_of_all_elements_located((By.XPATH, '//div[@class="notion-selectable notion-page-block notion-collection-item"]')))
        books[0].click()
    def getQuotes(self):
        quotesElements = WebDriverWait(self.driver, 10).until(
            EC.presence_of_all_elements_located((By.XPATH, '//div[@placeholder="Empty quote"]')))
        quotes = []
        for quoteElement in quotesElements:
            quotes.append(quoteElement.text)
        print(len(quotesElements))
        return quotes
scraping = Scraping()
scraping.openWebDriver()
scraping.fetchNotion()
scraping.getBooks()
scraping.getQuotes() 
 
    