M
M
marataziat2018-03-23 11:22:01
Python
marataziat, 2018-03-23 11:22:01

Why is def not being run?

https://gist.github.com/maratmkhitaryan/e03bcb14ea... - Why can't my script run? I write in the console:

seal:Desktop/ $ python3 bot.py                                       [3:53:37]
seal:Desktop/ $
nothing starts up!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2018-03-23
@marataziat

because

driver.find_elements_by_id('surveyQuestions').count
is 0. The program starts and ends immediately.

E
elZiga, 2018-05-09
@elZiga

seal:Desktop/ $ chmod +x bot.py
seal:Desktop/ $ python3 bot.py

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question