📜  使用 selenium py 登录 instagram - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:49.404000             🧑  作者: Mango

代码示例1
driver.find_element_by_xpath("//input[@name='username']").send_keys(username)
driver.find_element_by_xpath("//input[@name='password']").send_keys(password)
driver.find_element_by_xpath("//button[contains(.,'Log in')]").click()