We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60003ab commit 39b6897Copy full SHA for 39b6897
acstis/helpers/BrowserHelper.py
@@ -182,9 +182,11 @@ def __get_phantomjs_driver():
182
return BrowserHelper.__phantomjs_driver
183
184
path = os.path.dirname(os.path.abspath(__file__))
185
+ bits = ctypes.sizeof(ctypes.c_voidp)
186
+ x = "32" if bits == 4 else "64"
187
188
if sys.platform == "linux" or sys.platform == "linux2":
- file = path + "/../phantomjs/linux-2.1.1"
189
+ file = path + "/../phantomjs/linux" + x + "-2.1.1"
190
elif sys.platform == "darwin":
191
file = path + "/../phantomjs/mac-2.1.1"
192
elif sys.platform == "win32":
acstis/phantomjs/linux-2.1.1 renamed to acstis/phantomjs/linux32-2.1.1
acstis/phantomjs/linux64-2.1.1
64.8 MB
0 commit comments