selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"tag name","selector":"p"}
(Session info: headless chrome=74.0.3729.169)
I also tried .find_element_by_class_name('mainText') instead of .find_element_by_tag_name('p'), but still got the same error. Any ideas?
I am getting the following error:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"tag name","selector":"p"} (Session info: headless chrome=74.0.3729.169)
I also tried .find_element_by_class_name('mainText') instead of .find_element_by_tag_name('p'), but still got the same error. Any ideas?