The transit method detects planets by staring at stars to watch for dips in brightness that occur when a planet crosses in front of the disk.
NASA Ames