Relative Content

Tag Archive for pythonselenium-webdriverselenium-chromedriver

Automate Downloading CSV from Tableau Dashboard via Selenium in Python

# step 3 import time from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys # Initialize WebDriver driver = webdriver.Chrome() driver.get(‘https://public.tableau.com/app/profile/jennifer.dawes/viz/DataArtCMYKEmbroidery-Rectangles/2′) time.sleep(5) tableau_public_link1 = driver.find_element(By.CSS_SELECTOR,’#root > div > div._content_919mw_7 > div._discovercontainer_1k454_2 > div > div:nth-child(3) > div > ul > li:nth-child(1) > div > div._upper_x9m2c_143 > a._title_x9m2c_118’) tableau_public_link1.click() time.sleep(5) tableau_public_link2 = driver.find_element(By.CSS_SELECTOR,’#root […]

Automate Downloading CSV from Tableau Dashboard via Selenium in Python

# step 3 import time from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys # Initialize WebDriver driver = webdriver.Chrome() driver.get(‘https://public.tableau.com/app/profile/jennifer.dawes/viz/DataArtCMYKEmbroidery-Rectangles/2′) time.sleep(5) tableau_public_link1 = driver.find_element(By.CSS_SELECTOR,’#root > div > div._content_919mw_7 > div._discovercontainer_1k454_2 > div > div:nth-child(3) > div > ul > li:nth-child(1) > div > div._upper_x9m2c_143 > a._title_x9m2c_118’) tableau_public_link1.click() time.sleep(5) tableau_public_link2 = driver.find_element(By.CSS_SELECTOR,’#root […]

Automate Downloading CSV from Tableau Dashboard via Selenium in Python

# step 3 import time from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys # Initialize WebDriver driver = webdriver.Chrome() driver.get(‘https://public.tableau.com/app/profile/jennifer.dawes/viz/DataArtCMYKEmbroidery-Rectangles/2′) time.sleep(5) tableau_public_link1 = driver.find_element(By.CSS_SELECTOR,’#root > div > div._content_919mw_7 > div._discovercontainer_1k454_2 > div > div:nth-child(3) > div > ul > li:nth-child(1) > div > div._upper_x9m2c_143 > a._title_x9m2c_118’) tableau_public_link1.click() time.sleep(5) tableau_public_link2 = driver.find_element(By.CSS_SELECTOR,’#root […]

Automate Downloading CSV from Tableau Dashboard via Selenium in Python

# step 3 import time from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys # Initialize WebDriver driver = webdriver.Chrome() driver.get(‘https://public.tableau.com/app/profile/jennifer.dawes/viz/DataArtCMYKEmbroidery-Rectangles/2′) time.sleep(5) tableau_public_link1 = driver.find_element(By.CSS_SELECTOR,’#root > div > div._content_919mw_7 > div._discovercontainer_1k454_2 > div > div:nth-child(3) > div > ul > li:nth-child(1) > div > div._upper_x9m2c_143 > a._title_x9m2c_118’) tableau_public_link1.click() time.sleep(5) tableau_public_link2 = driver.find_element(By.CSS_SELECTOR,’#root […]

Automate Downloading CSV from Tableau Dashboard via Selenium in Python

# step 3 import time from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys # Initialize WebDriver driver = webdriver.Chrome() driver.get(‘https://public.tableau.com/app/profile/jennifer.dawes/viz/DataArtCMYKEmbroidery-Rectangles/2′) time.sleep(5) tableau_public_link1 = driver.find_element(By.CSS_SELECTOR,’#root > div > div._content_919mw_7 > div._discovercontainer_1k454_2 > div > div:nth-child(3) > div > ul > li:nth-child(1) > div > div._upper_x9m2c_143 > a._title_x9m2c_118’) tableau_public_link1.click() time.sleep(5) tableau_public_link2 = driver.find_element(By.CSS_SELECTOR,’#root […]