What is the meaning of Caprice?

An impulsive, seemingly unmotivated action, change of mind, or notion.

A brief romance.

An unpredictable or sudden condition, change, or series of changes.

A disposition to be impulsive.

A capriccio.

whim; wish

tantrum

Source: wiktionary.org