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

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

0

Maybe this could help

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