1from selenium import webdriver
2from selenium.webdriver.common.keys import Keys
3from selenium.webdriver.common.action_chains import ActionChains
4
5driver = webdriver.Chrome()
6driver.get("https://public.tableau.com/views/IsolamentoSocial/Dashboard?:embed=y&:showVizHome=no&:host_url=https%3A%2F%2Fpublic.tableau.com%2F&:embed_code_version=3&:tabs=no&:toolbar=no&:animate_transition=no&:display_static_image=no&:display_spinner=no&:display_overlay=yes&:display_count=yes&:loadOrderID=1")
7n = 2
8actions = ActionChains(driver)
9actions.send_keys(Keys.TAB * n)
10actions.perform()