Skip to content

Instantly share code, notes, and snippets.

@jonaed1230
Created November 3, 2018 16:59
Show Gist options
  • Save jonaed1230/349243b42b34bf753f71edbe262e02dd to your computer and use it in GitHub Desktop.
Save jonaed1230/349243b42b34bf753f71edbe262e02dd to your computer and use it in GitHub Desktop.
facebook auto scroller
action.sendKeys(Keys.ESCAPE).build().perform()
driver.find_element_by_tag_name('body').send_keys(Keys.ESCAPE)
webdriver.ActionChains(driver).send_keys(Keys.ESCAPE).perform()
# এই একশনগুলো সব ট্রাই করছি কিন্তু কাজ করতেছে না
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
browser = webdriver.Chrome()
browser.get('https://web.facebook.com')
email = browser.find_element_by_css_selector('#email')
password = browser.find_element_by_css_selector('#pass')
email.send_keys('email') #remove email and type your phone number or email
password.send_keys('password') #remove password and type your facebook password
password.submit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment