Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Python by (120 points)
from selenium import webdriver
import time
from selenium.webdriver.common.keys import Keys
webdriver = webdriver.Chrome("chromedriver.exe")
webdriver.get(',room,311,Mężowie i żony')
czateria = webdriver.find_element_by_id('intro-start')
text = webdriver.find_element_by_id('box-interface-input')
text.send_keys("Fajna strona")

C:\Users\perys\PycharmProjects\moje\venv\Scripts\python.exe C:/Users/perys/PycharmProjects/moje/venv/
Traceback (most recent call last):
  File "C:/Users/perys/PycharmProjects/moje/venv/", line 6, in <module>
NameError: name 'self' is not defined

Process finished with exit code 1

Who will help me fix this error I want the text to appear in the chat, for example: 10 different texts without pressing the run in pycharm

Please log in or register to answer this question.

Related questions

Browse Categories