Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.
File "expertsBrazil2webdriver.py", line 16, in <module> driver.findElement (By.linkText("SIGN IN")).click() AttributeError: 'WebDriver' object has no attribute 'findElement'
from selenium import webdriver from selenium.webdriver.common.proxy import * import traceback import random import os import time os.environ["SELENIUM_SERVER_JAR"] = "/Users/rjw/Documents/Python/selenium-server-standalone-3$ browser = None try: # browser = webdriver.Firefox() driver = webdriver.Safari() driver.get('https://www.blogger.com/about/') # navigate to your blog time.sleep(5) driver.findElement (By.linkText("SIGN IN")).click() except: print(traceback.format_exc()) finally: if browser: browser.quit()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.