Etymology
Today it means: By chance; at random. Full definition →
From chance + -wise.
Etymology from Wiktionary, CC BY-SA 4.0.