Of course, she wouldn’t go completely undisguised. Hermione got behind some old houses, where no one could see her, took a dark cloak out of her incredibly useful handbag, which was way too large for her, and drank the needed potion.