I am trying to automate the fronttend website for the company I work for, but I am having problem trying to find this xpath, when I run the test case in pyhton I get the following :
"Selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div/lc-app/lc-auth-app/top-menu-bar/div/div[2]/top-menu-bar-right-section/div/top-menu-bar-right-section-drop/div/div[2]/ul/li[2]/button/span "}"
********THIS is the xpath i currently have, see below please********
*"/html/body/div/lc-app/lc-auth-app/top-menu-bar/div/div[2]/top-menu-bar-right-section/div/top-menu-bar-right-section-drop/div/div[2]/ul/li[2]/button/span"*
can I find this specific xpath? I have attached the pic of what Im trying to find.. the "activity" path, I need to be specific, but I cant get it to work activity xpath
WebDriverWaitoption? Also check if element available inside any iframe?