daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. chrome_options.binary_location = "C:\PATH\TO\app.exe"
  2.     chrome_options.add_argument('--disable-gpu')
  3.     chrome_options.add_argument("disable-infobars")
  4.     chrome_options.add_argument("--disable-extensions")
  5.     chrome_options.add_argument("--no-sandbox")
  6.     chrome_options.add_argument("--disable-dev-shm-usage")
  7.     app = webdriver.Chrome(executable_path=path_to+ "/drivers/window/chromedriver",
  8.                                chrome_options=chrome_options)
  9.     app.find_element_by_name('mobile').send_keys('12332323')
  10.     app.find_element_by_name('password').send_keys('12332323')
  11.    
  12. selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top