By chance; perhaps.
"Happily, I found the book I was looking for on the top shelf without asking anyone else."
Happily comes from the Middle English word happy combined with the suffix -ly. It entered modern usage as a standard adverb describing an action done in a cheerful or fortunate manner.