Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from selenium import webdriver
- from selenium.webdriver.firefox.options import Options
- from selenium.webdriver.support import ui
- url = 'https://bankrot.fedresurs.ru/DebtorsSearch.aspx?attempt=1'
- options = Options()
- # options.add_argument('--headless')
- driver = webdriver.Firefox(options=options, executable_path="geckodriver")
- wait = ui.WebDriverWait(driver, 10)
- driver.get(url)
- driver.find_element_by_xpath("//*[@id='ctl00_cphBody_rblDebtorType_1']").click()
Add Comment
Please, Sign In to add comment