If requested they can do a swab test shortly after the baby is born. Like losingmymind said, you can have an amniocentesis but there is a risk of miscarriage and the doc will probably refuse to do it.
No, you have to wait until the baby is atleast 6 months old.
no docs always like to do it when baby is born
If you have an amniocentesis done. However, amniocentesis does carry a risk of causing miscarriage.