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

278
Views
(await page).fill dosent work correctly in my case

The code below is supposed to fill in the password and Email fields, but in fact it fills in the Email field as "passmail@mail.ru". Please help.


(async () => {
  const browser = await chromium.launch({
    headless: false,
    slowMo: 5000,
    devtools: true,
  });
  const page = browser.newPage();

  (await page).goto("url");

  (await page).click("text=Enter");

  (await page).fill('[type="password"]', "pass");

  (await page).fill('[placeholder="Email"]', "mail@mail.ru");

  (await page).click('button:has-text("OK")');

  (await page).click('button:has-text("log-in")');
})();```
about 4 years ago · Juan Pablo Isaza
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!