python selenium tutorial- automating web things

Publicado em: 01 Janeiro 2021
no 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


Nesta página do site você pode assistir ao vídeo on-line python selenium tutorial- automating web things duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário idan python 01 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 95 vezes e gostou 2 espectadores. Boa visualização!