Hướng dẫn login facebook selenium python - đăng nhập facebook selen python
from selenium import webdriver Show Nội dung chính ShowShow
from time import sleep from selenium.webdriver.common.keys import Keys browser = webdriver.Chrome(executable_path="chromedriver.exe") # mo thu mo trang web browser.get("http://facebook.com") # dien thong tin dang nhap username = browser.find_element_by_id("email") username.send_keys("điền tên đăng nhập (email/sdt) của account facebook của các bạn vào") pass = browser.find_element_by_id("pass") pass.send_keys("điền mật khẩu") pass.send_keys(Keys.ENTER) Đã đăng vào thg 10 12, 2020 2:31 CH 2 phút đọc 2 phút đọc Giới thiệu :Cài đặt Selenium với Python Cài đặt Selenium với PythonBước 1 : Đăng nhập vào facebook bằng cookie : Bước 1 : Đăng nhập vào facebook bằng cookie :Bước 2 : Lấy nội dung tin tức mới nhất trên 24h.com.vn : Bước 3 : Tạo Script tự động nhắn tin tới facebook sau một khoảng thời gian : Thành quả :
from time import sleep from selenium.webdriver.common.keys import Keys Bước 2 : Lấy nội dung tin tức mới nhất trên 24h.com.vn :Bước 3 : Tạo Script tự động nhắn tin tới facebook sau một khoảng thời gian : Thành quả :
Bước 3 : Tạo Script tự động nhắn tin tới facebook sau một khoảng thời gian :Thành quả : from time import sleep
Thành quả :from time import sleep
from selenium.webdriver.common.keys import Keys browser = webdriver.Chrome(executable_path="chromedriver.exe") # mo thu mo trang web |