I've been looking around SendKeys to input credentials into a web page. I've noticed there are two ways to really do this, and neither are garunteed. The nature of SendKeys is that there has to be focus. .NET can't interact with non-.NET windows and stuff. I understand and it makes sense.
So either:
1) Sendkeys and hope that the window is focused
or:
2) Obtain the page's POST method for login and manipulate the URL Like: http://blahblah.com/login.aspx?user=NAME&pass=PASS
Currently the first method is having too much of an issue with "what if the user has a task bar" or "what if the computer loads too slowly". Nothing can really be done here as far as I know
But what about number 2? Lets say the web page is flash. Is there any possible way I can get the POST method for username and pass? For example this website is the one I'm trying to slipstream user info into. I can't find any kind of POST method because the thing is in flash. Even after looking in web tools like chrome's inspector.
Is there truly no other workaround?