sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34288
[Question #270587]: Launch Chrome in Mac : execution error: Can’t get application "Chrome".
New question #270587 on Sikuli:
https://answers.launchpad.net/sikuli/+question/270587
Error Log:
[debug] RunTimeAPI: loadLib: libMacUtil.dylib
[debug] Runner: AppleScript:
#!/usr/bin/osascript
tell app "Chrome" to activate
returned:
*****error*****
/var/folders/qc/n91t7_111l5580skmd5yp2j4xkn478/T/Sikulix_1902161459/sikuli-859522232112186901.script:21:29: execution error: Can’t get application "Chrome". (-1728)
[error] App.focus failed: [-1:Chrome ()] Chrome
[debug] Region: ( ⌘ ) TYPE "l"
[debug] Region: ( ⌘ ) TYPE "l"
[debug] Region: TYPE "#ENTER."
Code Used:
App ff = new App("chrome");
ff.focus();
screen.type("l", Key.CMD);
screen.wait((double) 3.0);
screen.type("l", Key.CMD);
screen.paste(link);
screen.type(Key.ENTER);
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.