Evgeny572021-05-13 20:29:54
Evgeny57, 2021-05-13 20:29:54

How to fix error on pages while running webdriver?

I use the code for automation on the Roobet website

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

def main():
  global driver
options = webdriver.ChromeOptions() 
options.add_experimental_option("excludeSwitches", ["enable-automation"])
options.add_experimental_option('useAutomationExtension', False)
driver = webdriver.Chrome(options=options)

if name == 'main':

For some reason, when working, these are the errors 609d61d0342a6848472448.jpeg
Help me understand what the problem is

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Ivan Stroykin, 2018-11-16

Implementation example: stackblitz

webs2018, 2018-11-16


Ternick, 2021-05-13

No way, it's not about selenium, it's about the site and its internal scripts. Typically, such errors are rarely critical for the user, i.e. core functionality is not lost.
Here is my console after loading the site.


By the way, a similar question leads me to the fact that you do not understand what selenium is)
Ate very briefly, then this is your browser, with minor amendments to its settings that allow the browser to click on buttons, see elements and much more, these changes almost never affect the site itself, if it works in a regular browser, it will work with selenium. But, it should be noted that some sites analyze your browser settings and can recognize selenium with all the ensuing consequences)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question