0
Does anybody know how to login using python for any website?
I need to login into my college website I am stuck with an error so please ping me if u have some knowledge in it
8 Answers
0
I wrote one of these some time ago, hope this partial code gives you some idea. this was written for linux and firefox, should work fine for you with a few adjustments
https://code.sololearn.com/cRh2V5M7RdR1/?ref=app
0
normaly you need to login with a POST or a GET request.
i hope this helps you researching.
sry i have no knowledge about python.
0
Your question sort of implies that you are trying to login to a website that your college runs. If that's the case, reach out to your college's website IT department. They should be able to help you out with your login troubles.
0
thank you for replying to my question but if I am not clear in my question I am sorry .what exactly I meant is that I need to create a automation code that when fed with my details can directly login itself using selenium and chrome driver, by the way my college website works fine with my username and password
0
thank you Markus but please read my comment
0
mike i did, the code does exactly that.
it asks for the login details
goes to login page
inputs data to login fields and signs in
Janningâ I doubt this has anything to do with sso, if it did creating this automation would be so much simplier.
0
Perhaps.
Was just trying to bridge the gap between the Selenium part and the Chromedriver part.
*shrug*