Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

283
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!