File: 0006-Pick-Debian-s-location-of-chromedriver.patch

package info (click to toggle)
python-selenium 2.53.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 752 kB
  • ctags: 1,116
  • sloc: python: 4,423; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 738 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Pick Debian's location of chromedriver
Author: Guido Günther <agx@sigxcpu.org>
Bug-Debian: https://bugs.debian.org/805733
Forwarded: no
Last-Update: 2016-06-01

--- python-selenium-2.53.2+dfsg1.orig/py/selenium/webdriver/chrome/webdriver.py
+++ python-selenium-2.53.2+dfsg1/py/selenium/webdriver/chrome/webdriver.py
@@ -31,7 +31,7 @@ class WebDriver(RemoteWebDriver):
     http://chromedriver.storage.googleapis.com/index.html
     """
 
-    def __init__(self, executable_path="chromedriver", port=0,
+    def __init__(self, executable_path="/usr/lib/chromium/chromedriver", port=0,
                  chrome_options=None, service_args=None,
                  desired_capabilities=None, service_log_path=None):
         """