Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] sendCharacters does not populate date input #1057

Closed
jperl opened this issue Feb 18, 2020 · 2 comments
Closed

[BUG] sendCharacters does not populate date input #1057

jperl opened this issue Feb 18, 2020 · 2 comments

Comments

@jperl
Copy link
Contributor

jperl commented Feb 18, 2020

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.

@jperl jperl changed the title [BUG] [BUG] sendCharacters does not populate date input Feb 18, 2020
@jperl
Copy link
Contributor Author

jperl commented Feb 18, 2020

This is also an issue with time inputs.

jperl added a commit to qawolf/qawolf that referenced this issue Feb 18, 2020
@jperl
Copy link
Contributor Author

jperl commented Apr 6, 2020

Closing this in favor of using fill #1676

@jperl jperl closed this as completed Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant