H
H
haniaman2020-09-24 14:41:05
Python
haniaman, 2020-09-24 14:41:05

What are the timeout errors when you write a profile for Selenium?

Hello, I'm running a script on selenium through a prepared chrome profile, and it gives me the following errors (prnt.sc/un1lhq), which talk about timeouts. At the same time, the code works properly, I would like to know what these errors are.

Loading profile like this:

from selenium import webdriver
from selenium.common.exceptions import StaleElementReferenceException, NoSuchElementException
from time import sleep

options = webdriver.ChromeOptions()
options.add_argument("user-data-dir=C:\\User Data") #Path to your chrome profile
driver = webdriver.Chrome(executable_path="C:\\WebDriver\\Chrome\\chromedriver.exe", chrome_options=options)

# code...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question