Without an aim, purpose or direction; in an aimless manner.
In an arbitrary manner.
To an arbitrary degree.