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

272
Vistas
Selenium 3.141.0 - send_keys() work fine on Windows but don't on Linux Debian 11

I try to do some web automation with Selenium.

My program was working good until I upgrade my packages - Now the send_keys() don't work on linux but it do well on Windows with the same versions.

I tried to 1 click(), 2 clear(), 3 send_keys() - copy/pasting, etc...

But none of these make the javascript input saving my send_keys(string). It do send the keys, but after he goes to next action, string has gone... And there's no error in console neither in logs.

I also tried with selenium 4.1.3 but it don't change anything...

It work perfectly under windows with/out headless, but it has stop working on Debian 11 Rolling after an update...

Please give me hint it's very important !!

Selenium version 3.141.0

Chrome version 100.0.4896.88-1

Python version 3.9.12

Kernel version 5.16.0

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Don't just find_element() to invoke send_keys(string).

Ideally, you need to induce WebDriverWait for the element_to_be_clickable() and you can use either of the following solution:

element = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.CSS_SELECTOR, "element_css")))
element.click()
element.clear()
element.send_keys("HSMKU")
about 4 years ago · Santiago Trujillo Denunciar
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