fork download
  1. import os
  2. from selenium import webdriver
  3.  
  4. # create new Edge session
  5. dir = os.path.dirname(__file__)
  6. edge_path = "c:\msedgedriver.exe"
  7. driver = webdriver.Edge(edge_path)
  8. driver.implicitly_wait(10)
  9. # driver.maximize_window()
  10.  
  11. driver.get("https://w...content-available-to-author-only...r.in/")
  12.  
  13. login_button = driver.find_element_by_class_name("LandingHeader-authBtn")
  14. login_button.click()
Runtime error #stdin #stdout #stderr 0.01s 7144KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 2, in <module>
ImportError: No module named selenium