python selenium tutorial- automating web things

Pubblicato il: 01 gennaio 2021
sul canale di: 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


In questa pagina del sito puoi guardare il video online python selenium tutorial- automating web things della durata di ore minuti seconda in buona qualità , che l'utente ha caricato idan python 01 gennaio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 95 volte e gli è piaciuto 2 spettatori. Buona visione!