Currently using Requests to try to log into https://mypay.dfas.mil/mypay.aspx. My problem is I don't know how to get the page this generates in a new tab upon login.
import requests
url = 'https://mypay.dfas.mil/mypay.aspx'
payload = {'visLogin': 'id', 'visPin': 'pass'}
r = requests.post(url, data=payload)
print(r.text)
This gives me the same page back because it opens a new tab. I just need to get past this part and everything else is generated in the same tab.