I did my driver's licence in Samui earlier this year and it took a lot longer than 2 hours. 4 hours of watching videos before you were allowed to take the written test, then come back the next day for the actual driving test.
The ask:thailand community, consisting of multiple Q/A groups with over 100,000 members, powers this platform. It is not an official government resource. Our members actively contribute to this resource, and while we strive for accuracy, we cannot guarantee its complete reliability. Assistance to travelers is provided as a community service.