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

188
Vistas
Running a JS script with Selenium IDE

I am trying to figure out how to run the following inside the Selenium IDE. The thing is that we have an input field where we add string "TEST" + the current hours and minutes without ":" in between. I am banging my head against the wall while looking for a close solution in search engines, but nothing so far. I have not that big experience in programming unfortunately, yet. Maybe someone could help me with this?

This is the idea that I need to run with Selenium IDE:

const hours = new Date();
const minutes = new Date();
console.log(hours.getHours().toString() + minutes.getMinutes().toString());

This needs to be inside here, as this is set up to check with, as example, "TEST1627" as input value, which is dynamic, and then second field, which is not important and is static: page screenshot with input field

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Maybe this could help

const now = new Date();
console.log("TEST" + now.getHours() + "" + now.getMinutes());
about 4 years ago · Juan Pablo Isaza 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