← Back to team overview

sikuli-driver team mailing list archive

[Bug 1486918] Re: Launch Chrome in Mac : execution error: Can’t get application "Chrome".

 

It works if i use 'Google chrome'.

Should it work for 'chrome'?? If so, its fine.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1486918

Title:
  Launch Chrome in Mac : execution error: Can’t get application
  "Chrome".

Status in Sikuli:
  New

Bug description:
  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);

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1486918/+subscriptions


References