Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- from selenium.webdriver.common.keys import Keys
- from selenium import webdriver
- from selenium.webdriver.chrome.options import Options
- driver = webdriver.Chrome(options=options,executable_path=(r"C:\Users\gramy\PycharmProjects\pythonProject1\chromedriver.exe"))
- driver.get("http://6obcy.pl")
- obcy = webdriver.find_element_by_id('intro-start')
- obcy.click()
- time.sleep(2)
- text = webdriver.find_element_by_id('box-interface-input')
- text.send_keys(" tekst ")
- text.send_keys(Keys.ENTER)
Advertisement
Add Comment
Please, Sign In to add comment