Hot to get type(Key.DELETE,KEY_SHIFT|KEY_CMD) to do function, not just type it.

Asked by Colby Black

I'm trying to clear cookies in Chrome Settings using
cmd-shift-delete

I tried

type(Key.DELETE,KEY_SHIFT|KEY_CMD) for mac, and it types it, but doesn't do the function of clearing cookies in chromes settings.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colby Black (coboblack) said :
#1

anoyone???

Revision history for this message
Roman Podolyan (podolyan-roman) said :
#2

Did you try to do it with keyDown() / keyUp() sequence?
Unfortunately, now I have no Mac at my disposal to test this myself.

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

I think it is the backspace key and not the delete key, that has to be used.

type(Key.BACKSPACE, KEY_SHIFT|KEY_CMD)

Can you help with this problem?

Provide an answer of your own, or ask Colby Black for more information if necessary.

To post a message you must log in.