Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

190
Vistas
Circular Reference Error in Selenium while executing JavaScript

I am trying to get Recaptcha parameters from selenium by executing a JavaScript code but somehow its returning 'Circular Reference Error'. I understand the meaning of the error but I don't know what is causing this problem in this case. This is the url of the site site-url I also tried lookin at other stackoverflow answers but they don't seem to help. when i ran it in chrome-console it runs fine.

driver.execute_script('return ___grecaptcha_cfg.clients[0]') #this one works
driver.execute_script('return ___grecaptcha_cfg.clients[100000]') #returns error

Error

Traceback (most recent call last):
  File "<pyshell#41>", line 1, in <module>
    driver.execute_script('return ___grecaptcha_cfg')
  File "C:\Users\ABC\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 634, in execute_script
    return self.execute(command, {
  File "C:\Users\ABC\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Users\ABC\AppData\Local\Programs\Python\Python38\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.JavascriptException: Message: javascript error: circular reference
  (Session info: chrome=92.0.4515.159)
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda