Selenium Options Object Has No Attribute Binary

Selenium options object has no attribute binary

AttributeError: 'module' object has no attribute and ImportError: No module named Python

Meta -

OS:

$uname -a
Linux archdeekus 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 10:40:17 CEST 2017 x86_64 GNU/Linux

Selenium Version:

$pip3 show selenium
Name: selenium
Version: 3.4.3
Summary: Python bindings for Selenium
Home-page: https://github.com/SeleniumHQ/selenium/
Author: UNKNOWN
Author-email: UNKNOWN
License: Apache 2.0
Location: /usr/lib/python3.6/site-packages
Requires:

Browser:

$firefox -v
Mozilla Firefox 55.0.3

Browser Version:

55.0.3(64-bit)

Expected Behavior - Instance of Firefox starting

Actual Behavior - Error thrown:

Steps to reproduce -

Using options.binary = "/usr/bin/firefox" following error appears:

/usr/lib/python3.6/site-packages/selenium/webdriver/firefox/webdriver.py references to /usr/lib/python3.6/site-packages/selenium/webdriver/firefox/options.py, which contains:

Calling webdriver.Firefox(log_path="geckodriver.log") simply opens Firefox.