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

106
Views
How do I populate a field with data

I'm hoping I could get this issue resolved here. I'm trying to automate a process that involves selecting options from a list of options (by looping through each) and saving these options, simply by clicking the save button.

What I've tried so far is by using selenium to locate the tags and clicking on it using the click function. This works fine but the test site crashes on Heroku and other hosting sites I've tried due to memory issue, even on Digital Ocean.

I know I can automate this bit using Javascript but I really do not know how to search for the right article [I do know it involves using Fetch. I think] I have managed to get the API route feeding the site its data for this method.

My code so far (abridged):

for task in tasks:
     elem = driver.find_element_by_class_name('input.searchInput.keyboardInput')
                elem.click() #needs to be clicked on first 
                elem.send_keys(task)
                elem.send_keys(Keys.ENTER)

     #handle elem
#click on save button

I really just need to populate the task table with selected tasks and then save, without having to open multiple chrome instances by selenium, which is the cause of memory overload.

about 4 years ago · Juan Pablo Isaza
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!