python selenium tutorial- automating web things

Publicado el: 01 enero 2021
en el canal de: idan python
95
2

this is actually a preface to the next video' so stay tuned :)
code:

from selenium import webdriver
import os
import time

try:
driver=webdriver.Chrome("B:\chromedriver.exe") # location of the chromedriver file

driver.get("https://www.facebook.com/") # opening chrome with facebook

search = driver.find_element_by_name("email") # getting the input with wanted id

search.send_keys("hello") # writing to this input



search = driver.find_element_by_name("pass")

search.send_keys("pass")

time.sleep(2)

button=driver.find_element_by_name("login")

button.click()

except Exception as e:
print e


En esta página del sitio puede ver el video en línea python selenium tutorial- automating web things de Duración hora minuto segunda en buena calidad , que subió el usuario idan python 01 enero 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 95 veces y le gustó 2 a los espectadores. Disfruta viendo!