Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

183
Visualizações
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 Respostas
Responde à pergunta

0

Maybe this could help

const now = new Date();
console.log("TEST" + now.getHours() + "" + now.getMinutes());
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda