from urllib import request
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.chrome.options import Options

url = r"https://www.nvinq.jra.go.jp/jra/servlet/JRAVotereference"
dp = r"C:\driver\94\chromedriver.exe"
options = Options()
# options.add_argument('--headless')
driver = webdriver.Chrome(dp, options=options)
driver.get(url)
uid = driver.find_element_by_name('UID')
pwd = driver.find_element_by_name('PWD')
pars = driver.find_element_by_name('PARS')
