HAT-P-1b was detected by searching for astronomical transits of the parent star by orbiting planets.
The discovery of HAT-P-1b involved observing the parent star's transit as a planet passes in front of it.