Gunfire rang out at a major intersection Thailand's capital on Saturday as clashes between protesters and government supporters erupted on the eve of tense nationwide elections.