mirror of
https://github.com/microsoft/playwright.git
synced 2024-08-17 08:00:23 +03:00
chore: add android keys for channels switching (#31619)
This commit is contained in:
parent
a1f82b0bb6
commit
ba62f83454
@ -297,6 +297,8 @@ const keyMap = new Map<string, number>([
|
||||
['Menu', 82],
|
||||
['Notification', 83],
|
||||
['Search', 84],
|
||||
['ChannelUp', 166],
|
||||
['ChannelDown', 167],
|
||||
['AppSwitch', 187],
|
||||
['Assist', 219],
|
||||
['Cut', 277],
|
||||
|
1
packages/playwright-core/types/types.d.ts
vendored
1
packages/playwright-core/types/types.d.ts
vendored
@ -14352,6 +14352,7 @@ export type AndroidKey =
|
||||
'Star' | 'Pound' | '*' | '#' |
|
||||
'DialUp' | 'DialDown' | 'DialLeft' | 'DialRight' | 'DialCenter' |
|
||||
'VolumeUp' | 'VolumeDown' |
|
||||
'ChannelUp' | 'ChannelDown' |
|
||||
'Power' |
|
||||
'Camera' |
|
||||
'Clear' |
|
||||
|
1
utils/generate_types/overrides.d.ts
vendored
1
utils/generate_types/overrides.d.ts
vendored
@ -299,6 +299,7 @@ export type AndroidKey =
|
||||
'Star' | 'Pound' | '*' | '#' |
|
||||
'DialUp' | 'DialDown' | 'DialLeft' | 'DialRight' | 'DialCenter' |
|
||||
'VolumeUp' | 'VolumeDown' |
|
||||
'ChannelUp' | 'ChannelDown' |
|
||||
'Power' |
|
||||
'Camera' |
|
||||
'Clear' |
|
||||
|
Loading…
Reference in New Issue
Block a user