2.0.5 type('A',Key.CTRL), but type('A',Key.CTRL + Key.SHIFT)

Asked by wu woody2022

I want to clear browser search box;

My script is :
r = region(xxx,xxx)
r.click()
wait(1)
type('A',Key.CTRL)
type(Key.BACKSPACE)

then debugger to type('A',Key.CTRL),browser search shortcut hit (shift + ctrl + A)

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

not a bug

Revision history for this message
Best RaiMan (raimund-hocke) said :
#2

An uppercase a gets an a+SHIFT.

correct:
type("a", Key.CTRL)

Revision history for this message
wu woody2022 (woody2022) said :
#3

Thanks RaiMan, that solved my question.