ReePrime China
Python 3 : Facebook login using Python Script | 13 line of Automation Code | Ethica

此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。

Python 3 : Facebook login using Python Script | 13 line of Automation Code | Ethica

13 次观看 09:37 EthicaSecurity

描述

Python : Facebook login using python script | 13 line of Automation Code | Ethica | Ethica Sec | EthicaS | Ethica Security

Commands used in this tutorials.
sudo pip3 install selenium
sudo pip3 install webdriver-manager

==========PYTHON SCRIPT CODE ==========
from selenium import webdriver
from getpass import getpass
from webdriver_manager.chrome import ChromeDriverManager

username = input('Pl Enter Your Facebook username: ')
passwd = getpass('Enter your Facebook password: ')

#driver = webdriver.Chrome(ChromeDriverManager().install)
driver = webdriver.Chrome(executable_path='C:/chromedriver/chromedriver')
driver.get('https://www.facebook.com')

txtUsername = driver.find_element_by_id('email')
txtUsername.send_keys(username)

txtPasswd = driver.find_element_by_id('pass')
txtPasswd.send_keys(passwd)

btnLogin = driver.find_element_by_id('u_0_b')
btnLogin.submit()
=======================================


Hash Tag
#ethica | #ethicasec | #ethicasecurity | #ethicas | #ethicalmarg | #kalilinux | #linux | #ethicalsecurity | #windows10 | #windows | | #tech | #technology | #kalilinux | #ethicalhacking #python #pythonlanguage | #ethicalhacking

how to install netmiko in windows,
how to install netmiko in linux,
how to install selenium in windows,
how to install selenium in linux,
how to install webdriver-manager in windows,
how to install webdriver-manager in linux,
how to install selenium,how to install webdriver manager,
login facebook using python,python code for login facebook
,how to login facebook account automation,
facebook automation
,facebook login python code,
python code for login fb,python automation