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

174
Visualizações
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
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