schickling/chromeless

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

開放

#222 建立於 2017年8月11日

 (5 則留言) (3 個反應) (0 位負責人)TypeScript (606 個分叉)batch import
APIhelp wantedquestion

倉庫指標

星標
 (13,240 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南