When is the consent bar not shown?
Is Cookiebot for free?
It's free for one domain that has less than 100 pages. For more information, please check their Pricing page.
Can I test this on localhost?
Not easily. You have to register the domain on Cookiebot.com, otherwise the Cookiebot ID won't work. Adding a local / internal domain is only possible with a Premium account.