title: how to ignore the TimeoutException and continue to run the code?
body: <p>I'm extracting a demand/supply/competitiveness data by putting keywords(which is from 디지털가전.xlsx) into the website (<a href="https://itemscout.io/keyword/" rel="nofollow noreferrer">https://itemscout.io/keyword/</a>). The problem is that if the keyword can't be analyzed in this website and doesn't show any data of demand/supply/competitiveness, because of the timeoutexception,it will stop running. I want it to continue to run even though it doesn't show any data. How do I solove this problem?</p>
  <pre><code>raise TimeoutException(message, screen, stacktrace)
  selenium.common.exceptions.TimeoutException: Message: 
  </code></pre>
  <p>this is the file where keywords are stored
  <a href="https://drive.google.com/file/d/1oKIXZWiw5WsazHBstKVT8UlgRSZfdx62/view" rel="nofollow noreferrer">https://drive.google.com/file/d/1oKIXZWiw5WsazHBstKVT8UlgRSZfdx62/view</a>
  last column of the excel file contains the keyword</p>
  <pre><code>import xlrd
  import pandas as pd
  import xlrd
  import pandas as pd
  import numpy as np
  from bs4 import BeautifulSoup
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  import openpyxl
  import time
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.common.exceptions import NoSuchElementException
  from selenium.webdriver.support import expected_conditions as EC
  from selenium.webdriver.common.by import By
  from selenium.common.exceptions import TimeoutException
  
  
  driver = webdriver.Chrome(executable_path=r&quot;C:\Users\Kim woo jae\PycharmProjects\100개 키워드\chromedriver.exe&quot;)
  list = []
  list1 = []
  list2 = []
  list3 = []
  
  driver.get(&quot;https://itemscout.io/keyword/&quot;)
  wait = WebDriverWait(driver, 120)
  b = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id=&quot;container&quot;]/div/div[2]/div/input')))
  b.clear()
  b.send_keys('화장대')
  c = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id=&quot;container&quot;]/div/div[2]/div/span')))
  c.click()
  d = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id=&quot;container&quot;]/div/div[3]/div[2]/div[1]/div[1]/div[2]/div[2]/div/table/tbody'))).text
  
  df = pd.read_excel(r'디지털가전.xlsx')
  ky = df['키워드']
  
  for k in ky:
      b1 = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id=&quot;container&quot;]/div/div[2]/div/input')))
      b1.clear()
      b1.send_keys(k)
      # c1 = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id=&quot;container&quot;]/div/div[2]/div/span')))
      wait.until(EC.element_to_be_clickable((By.XPATH, '//*[@id=&quot;container&quot;]/div/div[2]/div/span'))).click()
      # c1.click()
      time.sleep(2)
      wait.until(EC.presence_of_element_located((By.XPATH, '//*[@id=&quot;container&quot;]/div[1]/div[3]/div[2]/div[1]/div[1]/div[2]/div[2]/div/table/tbody/tr/td[2]/div')))
  
      d1 = wait.until(EC.visibility_of_element_located((By.XPATH, '//*[@id=&quot;container&quot;]/div/div[3]/div[2]/div[1]/div[1]/div[2]/div[2]/div/table/tbody'))).text
      d1 = (d1).replace(',', '.')
      d1 = ' '.join(d1.splitlines())
      d1 = d1.replace(' ', ',')
      result = [x.strip() for x in d1.split(',')]
  
      d = [result[0]]
      s = [result[1]]
      c = [result[2]]
      print([k],d,s,c)
  
      for ks in [k]:
          list.append(ks)
      for ds in d:
          list1.append(ds)
      for ss in s:
          list2.append(ss)
      for cs in c:
          list3.append(cs)
  
  df[&quot;키워드 확인&quot;] = list
  df[&quot;총검색량&quot;] = list1
  df[&quot;공급량&quot;] = list2
  df[&quot;경쟁률&quot;] = list3
  
  
  df.to_excel(&quot;디지털가전 최종.xlsx&quot;)
  </code></pre>