Skip to content

[BUG] sendCharacters does not populate date input #1057

Closed

Description

Context:

  • Playwright Version: 0.11.1
  • Operating System: Mac

Code Snippet

const playwright = require("playwright");

(async () => {
  const browser = await playwright.chromium.launch({ headless: false });
  const page = await browser.newPage();
  await page.goto("https://m4tkx.csb.app");
  await page.focus("#date-input");

  // does not work
  await page.keyboard.sendCharacters("01012020");

  // works
  // await page.keyboard.type("01012020");
})();

Describe the bug

sendCharacters does not populate a date input whereas type does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions