Yea, they started doing this recently. It's more convenient IMO and now buying a passport type photo isn't exactly necessary if you can take a picture yourself that resembles a passport photo.
Selfie works, but I took the passport photo route. Just remember that the picture should show how you'll look on test day (glasses, facial hair, etc.).
Comments