from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time
driver = webdriver.Chrome('D:\chromedriver.exe')
driver.get('https://gosuslugi.primorsky.ru/registry/taxi.htm')
try:
element = WebDriverWait(driver, 10).until(
EC.presence_of_element_located((By.ID, "table"))
)
except:
pass
time.sleep(10)
css = "load-more.btn.btn-primary"
driver.find_element_by_class_name(css).click()