title: I am trying to extract a newspaper data by clicking at next button to get more links
body: <p>I am trying to extract business standard newspaper economy section data by clicking on the links but I am failing to do it.</p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support import expected_conditions as EC
  # Here Chrome is used
  
  # URL of website
  url = &quot;https://www.business-standard.com/search?q=economy&quot;
  
  # Opening the website
  driver.get(url)
  
  # #button = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, &quot;//a[@href='#']&quot;))).click()
  button = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, &quot;//div[contains(., 'Next')]]&quot;))).click()
  </code></pre>