-
-
Notifications
You must be signed in to change notification settings - Fork 166
Troubleshooting & Tips
Туляганов Тимур Ганиевич edited this page Jun 18, 2020
·
10 revisions
You can add a matcher (save it as the first one to be sure) that will log out the source bundle identifier as a notification message or a log message. Example:
module.exports = {
// ...
handlers: [ {
match: ({ sourceBundleIdentifier }) => {
finicky.notify(sourceBundleIdentifier);
finicky.log(sourceBundleIdentifier);
},
browser: "Google Chrome",
}]
}
You can also directly query the bundle identifier from an application using the mdls(1) command:
Mac:~ me$ mdls /Applications/iPhoto.app | grep kMDItemCF
kMDItemCFBundleIdentifier = "com.apple.iPhoto"
(credit to Mike Bradshaw)
Add a url rewrite handler like this and it will output the full object to the finicky console.
{
match(all) {
finicky.log(JSON.stringify(all, null, 2));
return false;
},
url: ({ url }) => url,
}