schickling/chromeless

Using `press(13)` will incorrectly prompt the auto update setting page in Canary

Open

Aperta il 11 ago 2017

Vedi su GitHub
 (5 commenti) (3 reazioni) (0 assegnatari)TypeScript (13.240 star) (606 fork)batch import
APIhelp wantedquestion

Descrizione

Example:

        .click('#search-button')
        .type('funny', 'input#search-input')
        .press(13)

The expected behaviour is to redirect to a search page since I try to trigger an enter event in the input box. However, a new tab is opened instead.

Guida contributor