Sadly I wouldn't know for macos. Though, if you use something like chrome, there's an extension call ChromeIPass (Might be an I or L, can't 100% remember) if you use it with keypass (local keystore) you can autofill forms based on urls.
I'd search for better options on macos though.
thanks, but the link doesn't seem to work for chromeipass
https://chrome.google.com/webstore/detail/ompiailgknfdndiefoaoiligalphfdae
is it this:? https://chrome.google.com/webstore/detail/keepasshelper-password-ma/jgnfghanfbjmimbdmnjfofnbcgpkbegj?hl=en
I found the ChromeiPass fork: https://chrome.google.com/webstore/detail/keepasshttp-connector/dafgdjggglmmknipkhngniifhplpcldb?hl=en
(post is archived)