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

173
Views
How to select next available day at current month and year selenium js

I'm trying to fill out a signup form using selenium js. But I can't inspect the calendar because it opens like [this][1]. So I decided to send the date as a text while I'm sending other inputs to the form.

    $form = $crawler->filter('[data-track=\'signup-submit\'][data-input=\'signup-button\']')->form();
    $form['name'] = 'Test';
    $form['email'] = "{$faker->email}";
    $form['password'] = getenv('PASSWORD');
    $form['date'] = '30';
    $form['cityId'] = '2';
    $client->submit($form);

But in this case, I can only send specific days and months, not able to send years. So it is not an elegant solution even if I can send the year. So I thought the best solution will be to select the next available day on the calendar. But I don't know how to do it. Appreciate it if you have any thoughts on it. Thanks in advance. [1]: https://i.stack.imgur.com/WakwM.png

about 4 years ago · Santiago Trujillo
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!