whimsically

adverb
  1. in a playful, fanciful, or unpredictable manner

Examples