D
D
Denis99992015-12-20 23:37:48
Python
Denis9999, 2015-12-20 23:37:48

Do I have to do something with the dash in Python?

The code is the same, but the first option works, and the second one doesn't. Maybe the case is in the dash and in python it is necessary to escape it?

driver.find_element_by_class_name("ftr").click()
driver.find_element_by_class_name("ftr-blue").click()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis9999, 2015-12-21
@Denis9999

The problem is that the element did not have time to load.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question