[![enter image description here](https://i.stack.imgur.com/CCNsa.png)](https://i.stack.imgur.com/CCNsa.png)I am automating this link:

<https://global.remax.com/officeagentsearch.aspx#!mode=list&type=2&regionId=1000&regionRowId=&provinceId=&cityId=&localzoneId=&name=&location=&spokenLanguageCode=&page=1&countryCode=US&countryEnuName=USA&countryName=USA&selmode=residential&officeId=&TargetLng=&TargetLat=>

I am using a zip function to zip all the list into one. I use pandas to store data into CSV file but I am getting an empty list and CSV file. 
I don't see any error in the code, maybe I am missing something. 
Your help is appreciated.
Below is the code: 

```
import pandas as pd
from selenium import webdriver

option = Options()

driver = webdriver.Chrome(chrome_options=option, executable_path='your path\\chromedriver.exe')

driver.implicitly_wait(3)

url = "https://global.remax.com/officeagentsearch.aspx#!mode=list&type=2&regionId=1000&regionRowId=&provinceId=&cityId=&localzoneId=&name=&location=&spokenLanguageCode=&page=1&countryCode=US&countryEnuName=USA&countryName=USA&selmode=residential&officeId=&TargetLng=&TargetLat="

driver.get(url)

na = "N/A"

agent_name = []
remax_level = []
agent_phone_1 = []
agent_phone_2 = []
mobile = []
street_address = []
address_locality = []
address_region = []
address_country = []
email = []
website = []

for i in range(1, 6):
    agent_details = driver.find_element_by_xpath(f'''//*[@id="list-container"]/div[1]/div/div[{i}]/div/div[1]/a''')
    agent_details.click()

    try:
        # scraping agent's name 
        name = driver.find_element_by_xpath('''//*[@id="MainContent"]/div[1]/div[2]/div/div[1]/div[1]/div[1]/div[1]/h2/a''')
        agent_name.append(name.text)
    except:
        agent_name.append(na)

    try:
        # scraping remax level 
        level = driver.find_element_by_xpath('''//*[@id="MainContent"]/div[1]/div[2]/div/div[1]/div[1]/div[1]/div[1]/div[2]/h3/span/a/span''')
        remax_level.append(level.text)
    except:
        remax_level.append(na)

    try:
        # clicking on phone no 1
        phone_1 = driver.find_element_by_id("AgentDirectDialSpan")
        phone_1.click()
    except:
        pass

    try:
        # scraping phone no 1
        phone_1_copy = driver.find_element_by_class_name("phone-link")
        agent_phone_1.append(phone_1_copy.text)
    except:
        agent_phone_1.append(na)

    try:
        # clicking on phone no 2
        phone_2 = driver.find_element_by_id("ctl05_ShowOffice")
        phone_2.click()
    except:
        pass

    try:
        # scraping phone no 2
        phone_2_copy = driver.find_element_by_class_name("OfficePhoneSpan")
        agent_phone_2.append(phone_2_copy.text)
    except:
        agent_phone_2.append(na)

    try:   
        # clicking on mobile num
        mobile_num = driver.find_element_by_id("ctl05_ShowPhone")
        mobile_num.click()
    except:
        pass

    try:
        # scraping  mobile num
        mobile_n = driver.find_element_by_id("PhoneSpan")
        mobile.append(mobile_n.text)
    except:
        mobile.append(na)

    try:
        # scraping street address
        street_add = driver.find_element_by_xpath('''//*[@id="ctl05_Address"]/span[1]''')
        street_address.append(street_add.text)
    except:
        street_address.append(na)

    try:
        # scraping address locality
        add_locality = driver.find_element_by_xpath('''//*[@id="ctl05_Address"]/span[2]''')
        address_locality.append(add_locality.text)
    except:
        address_locality.append(na)

    try:
        # scraping address region
        add_region = driver.find_element_by_xpath('''//*[@id="ctl05_Address"]/span[3]''')
        address_region.append(add_region.text)
    except:
        address_region.append(na)

    try:
        # scraping address country
        add_country = driver.find_element_by_xpath('''//*[@id="ctl05_Address"]/span[4]''')
        address_country.append(add_country.text)
    except:
        address_country.append(na)

    try: 
        # scraping emails and websites
        emails_or_web = driver.find_element_by_xpath('''//span[contains(@class, 'value') and contains(@class, 'url-link') and position() = 1]''')

        if emails_or_web.text[6] or emails_or_web.text[7] == "http://" or "https://":
            website.append(emails_or_web.text)

        else:
            email.append(emails_or_web.text)
    except:
        website.append(na) and email.append(na)

    driver.back()
    continue

# zipping all the lists to one variable
all_info = list(zip(agent_name, remax_level, agent_phone_1, agent_phone_2, mobile, street_address, address_locality, address_country, email, website))
print(all_info)

df = pd.DataFrame(all_info, columns=["Agent Name", "Remax Level", "Agent Phone 1", "Agent Phone 2", "Agent Mobile", "Street Address", "Address Locality", "Address Country", "Email", "Website"])
df.to_csv("data.csv", index=False, encoding = 'utf-8')
driver.close()

```