- You should download firefox driver corresponding to your system and python version.
- Open the fb.py and input your facebook account and password, then change the 'executable_path' with your directory.
- Use python3 run it, and you can login and get a screenshot.