by accident (偶然に): I found the book by accident. (偶然その本を見つけました。)

I found the book by accident.