I'm trying to scrape a website to get the pictures and all I'm interested in is their links. Which I have to wait till the website javascript loads. I'm able to get the information I need, but I don't need firefox to open every time I run my code. Is there a way to just load my html code without the browser opening everytime?
import selenium
from selenium import webdriver
driver = selenium.webdriver.Firefox()
driver.get("https://www.nasa.gov/multimedia/imagegallery/iotd.html")
print(driver.page_source)