navalia
navalia copied to clipboard
Is there anyway to press enter in a textbox?
For example, when entering text into a search I'd like to press enter afterwards. Sometimes there's no button to press to confirm a text entry.
Any way to do it ? I need it too...
I used it this way, and works
await chrome.type(".field", "\r");
Is it the right way to do ?
That might just work. I think most listeners use the keyType when handling events, which I'd guess wouldn't work with this.
FWIW I'm in the process of deprecating this module as more vetted options have shown up (puppeteer and chromeless). I'd heavily recommend using one of those. If they don't meet your needs I'd love to hear about it and see how we can fix that. Thanks!
@joelgriffith When you say you're in the process of deprecating this module, do you mean Navalia as a whole?