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

11th Jul 2018, 7:42 PM
mike
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
12th Jul 2018, 7:07 AM
Markus Kaleton
Markus Kaleton - avatar
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.
11th Jul 2018, 8:23 PM
Lexfuturorum
Lexfuturorum - avatar
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.
11th Jul 2018, 10:40 PM
Janning⭐
Janning⭐ - avatar
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
12th Jul 2018, 1:23 AM
mike
0
thank you Markus but please read my comment
12th Jul 2018, 1:31 PM
mike
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.
12th Jul 2018, 2:45 PM
Markus Kaleton
Markus Kaleton - avatar
0
Perhaps. Was just trying to bridge the gap between the Selenium part and the Chromedriver part. *shrug*
12th Jul 2018, 3:04 PM
Janning⭐
Janning⭐ - avatar