Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys, os, webbrowser
- # -*- coding: utf-8 -*-
- from selenium import webdriver
- # create a new Chrome session
- driver = webdriver.Chrome()
- driver.implicitly_wait(30)
- # navigate to the application home page
- driver.get("https://sinoptik.ua/")
- driver.implicitly_wait(80)
- searchField = driver.find_element_by_css_selector("p.input. id='search_city'.class='ac_input'")[0].send_keys('Драгобрат')
- driver.quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement