Is there a way to access Tableau viz tool bar buttons like 'Refresh Data in this view' ? I have tried to locate tool bar elements by id and Xpath both but it throws an element not found exceptions every time.
After loading Tableau viz I am trying to locate the element
driver.implicitly_wait(20)
submit_button4 = driver.find_element(By.ID, 'refresh')
submit_button4.click()
but throws the below exception:
NoSuchElementException: Message: no such element: Unable to locate element
HTML snapshot: