> I have never seen any case of searching for information in any belongings of the travelers,
"I have never seen" is very different from "it doesn't happen".
I'm pretty sure in many countries, border control agents do their worst stuff out of sight of the public.