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

108
Vistas
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
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