This script is used to check your Residence Permit Status on the SEF website.
Technology:
- Python;
- Selenium
In the root folder from the repository. Run the command below:"
pip install -r requirements.txt
Just run the command below in the repository root folder:
python sef_status_check -e "YourEmail" -p "YourPassword" -b "firefox" (or "chrome")
To execute the code in your local machine, you need to configure some environment variables or just use the .vscode folder with a configured launch.json file.
{
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": [
"-e", "Your SEF E-mail.",
"-p", "Your SEF Password.",
"-b", "Your browser (For now, we only support Firefox and Chrome.)"
]
}
]
}
Obs: this file needs to be located in .vscode folder in repository root. After the file was configured, you can debug or run the code in vscode without setting environment variables in your machine.