aimlessly
1. [ adverb ] in an aimless manner
Synonyms: without_aim
Examples:

"he wandered around aimlessly"

Related terms: adrift adrift
Similar spelling:   aimless
  aimlessness