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

228
Views
How to select date from calendar that has readonly property using Playwright?

I am new to the playwright framework came from protractor background and want to know the method for the selector to select a date in the playwright.

selctor.fill(date) //not working

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

fill is used like this:

page.fill('selector', valueToFillWith)

so if date element is 'id="date"'

page.fill('[id="date"]', '08/21/2022')

https://playwright.dev/python/docs/api/class-page#page-fill

about 4 years ago · Juan Pablo Isaza Report

0

page.fill('[id="date"]', '08/21/2022') // not working

like this: <input readonly="" placeholder="Select date" class="ant-calendar-picker-input ant-input" value="2022-02-25">

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!