from selenium import webdriver
driver = webdriver.Chrome(options=chrome_options)
driver.get(my_website)
The above code opens my website but only after loading a tab with the title data:,
for a second or two. How do I hide it?
from selenium import webdriver
driver = webdriver.Chrome(options=chrome_options)
driver.get(my_website)
The above code opens my website but only after loading a tab with the title data:,
for a second or two. How do I hide it?
Your code successfully opens the website properly through google-chrome after loading a tab with the title data:,
for a second or two, is perfectly fine.
The main concern is, your program shouldn't be stuck with data:,
in the url bar. Incase this situation happens the simplest solution would be to:
Check if the url is properly formatted. As an example, you have mentioned the protocol along with the actual url as follows:
http://localhost:3000
You are using compatibile version of binaries in terms of Google Chrome Browser and ChromeDriver
You can find a couple of relevant discussions in: