arbitrarily, randomly
at will, freely, at one's discretion
randomly, on the off-chance
Он выбрал книгу наудачу с полки.
He randomly chose a book from the shelf.