Nov-21-2021, 03:44 PM
Thanks. I like that I can see what is going on during execution. However, I still have one last (I hope) problem. I am trying to select a dropdown item thus:
hour=browser.find_element_by_css_selector('#TimeOfCallDropDownList') hour.select_by_value(hh)This results in a traceback with the following error:
Output:Traceback (most recent call last):
File "./donotcall.py", line 134, in <module>
hour.select_by_value(hh)
AttributeError: 'FirefoxWebElement' object has no attribute 'select_by_value'
According to the documentation, that should work. I have not been able to find anything useful about this error. The only thing I found was a suggestion to use select_by_visible_text which in my case is going to be a pain as I would have to develop it.