Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98817

Python selenium get text from text file [closed]

$
0
0

I have a python script, using selenium to log in to a website, then enter text into various fields, and click buttons. How do i make it so i can put my login info and the different page urls all into one text file, and then my script refers to that text file when running?

I ask, because im a noob, and also because when the URLs change, or i change my username and password, i want to be able to modify one text file, instead of having to modify a dozen scripts. I also dont want the username and password in the repository where the script will soon be stored.


Viewing all articles
Browse latest Browse all 98817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>