Fortinet Interview Question

How does "getElememtByID" work?