Etymology
Today it means: In an unpredictable way. Full definition →
From unpredictable + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.