-
Notifications
You must be signed in to change notification settings - Fork 19
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
page.keyboard.press("Tab")
input "Tab" as text
#57
Comments
Does |
import { launch } from "https://deno.land/x/[email protected]/mod.ts";
const browser = await launch();
const page = await browser.newPage(
"https://news.ycombinator.com/login?goto=news",
);
await page.keyboard.type("a\tb\tc\td"); |
Hm, appears to work? |
Expected behavior in that case is focus movement, so
|
Is the expected behavior consistent with the behavior of other tools (e.g. puppeteer, playwright, etc)? Perhaps we could have something like |
I don't know about puppeteer or playwright behavior, so I simply used "Tab" because it was type hinted. However, I have noticed other constants present there. If you decide to add |
Ah okay, right. This is a bug with my implementation. Will fix, thank you. Not sure what it would actually do, but it should just work. |
See also #124 . |
Steps to reproduce
Expected behavior
Press tab key
Actual behavior
Type "Tab"
The text was updated successfully, but these errors were encountered: