title: How do I scrape the names of founders of a company along with their respective info (i.e. gender, education, etc.) ??? Crunchbase
body: <p>So I've been working on this code for a while and now need to pull more information concerning a company's founding team: like who are the founder(s), the founder(s) gender(s), their educational background (alma mater), and the size of the team at the company.</p>
  <p>(this is all on crunchbase)...I also need to pull this info for every company listed on the EV industry page.</p>
  <p>I'm pretty good with figuring out the xpaths of these webpage elements, however, Im having trouble  with storing the info (from above) in a dataframe while navigating the textlinks...not to mention doing it all in a nested loop because I need to scrape the info for every EV company...  Any help???</p>
  <pre><code>#imports
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.webdriver.support import expected_conditions as EC
  from selenium.common.exceptions import TimeoutException
  import pandas as pd
  import time
  
  #driver path
  PATH = &quot;C:/Program Files (x86)\chromedriver.exe&quot;
  driver = webdriver.Chrome(PATH)
  
  #access crunchbase ui
  driver.get(&quot;https://www.crunchbase.com/search/organizations/field/organization.companies/categories/electric-vehicle&quot;)
  driver.maximize_window()
  time.sleep(5)
  print(driver.title)
  
      
  time.sleep(3)
     
  #await element location
  
  WebDriverWait(driver, 30).until(EC.presence_of_element_located((By.XPATH, ('//a[@aria-label=&quot;Next&quot;][@aria-disabled=&quot;false&quot;][@type=&quot;button&quot;]'))))
      
  #next page
  page = driver.find_element_by_xpath('/html/body/chrome/div/mat-sidenav-container/mat-sidenav-content/div/search/page-layout/div/div/form/div[2]/results/div/div/div[1]/div/results-info/h3/a[2]')
  
  company_list = [] ###create dictionary
     
  counter = 0
  for _ in range(2):
      if counter == 1:
          break
      counter += 1
      
      if page.is_displayed():
          
          time.sleep(25)
          
          #webscrape through iterations
          all_rows = driver.find_elements_by_css_selector(&quot;grid-row&quot;)
                                                        
          for row in all_rows:
              companyname = row.find_element_by_xpath('.//*[@class=&quot;identifier-label&quot;]')
              companyname.click()
              time.sleep(25) 
              company=driver.find_element_by_xpath('.//*[@class=&quot;profile-name&quot;]')
              ActionChains(driver).move_to_element(company).perform()
              company_list.append(company)
          print(&quot;next&quot;)
          page.click()
      
      
  #create dataframe    
  df = pd.DataFrame(company_list)
  </code></pre>