Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
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.