How to rollback selenium 3.0.0 to 2.53.1?

3,464 views
Skip to first unread message

nhtrader

unread,
Oct 14, 2016, 12:24:27 PM10/14/16
to Selenium Users
WinXP Pro SP3 (32bit)
Python v3.4.3
PIP 8.1.2
Selenium 3.0.0
Firefox v49.0.1
geckodriver.exe v 0.11.1

Yesterday I accidentally upgraded Selenium to v3.0.0, and of course it doesn't work on my ancient PC.
Yesterday I was using FF v47.0.1 & Selenium 2.53.1 and an older version of PIP(didn't take note of it). Everything worked fine. No Errors.

Today I'm stuck trying to undo my mistake and get Selenium 3.0.0 & FF v49.0.1 to work:
Error 1 - geckodriver.exe not found in PATH
      So I downloaded geckodriver v0.11.1.zip expanded it, and transferred geckodriver.exe to valid PATH (C:\Python34)

Error 2 - selenium.common.exceptions.WebDriverException:
       Message: Service geckodriver unexpectedly exited. Status code was: 3221225781

Question 1 - How can I fix Error 2?
Question 2 - How can I rollback to selenium v2.53.1 (also tried v2.53.0 - same error resulted)?

I can tell you that I tried to rollback doing the following, two different ways, but both failed.
Method 1 -
1. downloaded win32-selenium-2.53.1.zip (131Mb, not IE driver server version 1Mb) & expanded it.
2. opened command prompt and changed DIR to location of .\selenium-2.53.1\setup.py
3. ran command: python setup.py install - FAILED.
Output:
running install
running bdist_egg
running egg_info
writing top
-level names to selenium.egg-info\top_level.txt
writing selenium
.egg-info\PKG-INFO
writing dependency_links to selenium
.egg-info\dependency_links.txt
reading manifest file
'selenium.egg-info\SOURCES.txt'
reading manifest
template 'MANIFEST.in'
writing manifest file
'selenium.egg-info\SOURCES.txt'
installing library code to build
\bdist.win32\egg
running install_lib
running build_py
installing
package data to build\bdist.win32\egg
running install_data
warning
: no files found matching '*.xpi' under directory 'py\selenium\webdriver\firefox'
warning
: no files found matching '*.json' under directory 'py\selenium\webdriver\firefox'
warning
: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\x86'
warning
: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\amd64'
error
: can't copy 'py\selenium\webdriver\firefox\x86\x_ignore_nofocus.so': doesn't exist or not a regular file

Method 2 - This was an attempt to use PIP to install my local copy of v2.53.1
command
:   pip install "C:\DocsAndSettings\me\...\selenium-2.53.1"
Output =
Processing c:\documents and settings\me\my documents\downloads\selenium-2.53.1\selenium-2.53.1
Installing collected packages: selenium
 
Running setup.py install for selenium ... error
   
Complete output from command C:\Python34\python.exe -u -c "import setuptools, tokenize;__file__='C:\\DOCUME~1\\me\\LOCALS~1\\Temp\\pip-frmu16l2-build\\setup.py';
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"

    install
--record C:\DOCUME~1\me\LOCALS~1\Temp\pip-gd8gcrid-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    running egg_info
    writing dependency_links to selenium
.egg-info\dependency_links.txt
    writing top
-level names to selenium.egg-info\top_level.txt
    writing selenium
.egg-info\PKG-INFO
    warning
: manifest_maker: standard file '-c' not found

    reading manifest file
'selenium.egg-info\SOURCES.txt'
    reading manifest
template 'MANIFEST.in'
    warning
: no files found matching '*.xpi' under directory 'py\selenium\webdriver\firefox'
    warning
: no files found matching '*.json' under directory 'py\selenium\webdriver\firefox'
    warning
: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\x86'
    warning
: no files found matching '*.so' under directory 'py\selenium\webdriver\firefox\amd64'
    writing manifest file
'selenium.egg-info\SOURCES.txt'
    running install_lib
    creating C
:\Python34\Lib\site-packages\selenium\common
    copying build
\lib\selenium\common\exceptions.py -> C:\Python34\Lib\site-packages\selenium\common
    copying build
\lib\selenium\common\__init__.py -> C:\Python34\Lib\site-packages\selenium\common
    creating C
:\Python34\Lib\site-packages\selenium\webdriver
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\android
    copying build
\lib\selenium\webdriver\android\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\android
    copying build
\lib\selenium\webdriver\android\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\android
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\blackberry
    copying build
\lib\selenium\webdriver\blackberry\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\blackberry
    copying build
\lib\selenium\webdriver\blackberry\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\blackberry
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\chrome
    copying build
\lib\selenium\webdriver\chrome\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
    copying build
\lib\selenium\webdriver\chrome\remote_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
    copying build
\lib\selenium\webdriver\chrome\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
    copying build
\lib\selenium\webdriver\chrome\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
    copying build
\lib\selenium\webdriver\chrome\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\chrome
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\action_chains.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\alert.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\by.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\desired_capabilities.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\common\html5
    copying build
\lib\selenium\webdriver\common\html5\application_cache.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common\html5
    copying build
\lib\selenium\webdriver\common\html5\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common\html5
    copying build
\lib\selenium\webdriver\common\keys.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\proxy.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\touch_actions.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\utils.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    copying build
\lib\selenium\webdriver\common\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\common
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\edge
    copying build
\lib\selenium\webdriver\edge\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
    copying build
\lib\selenium\webdriver\edge\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
    copying build
\lib\selenium\webdriver\edge\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
    copying build
\lib\selenium\webdriver\edge\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\edge
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\extension_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\firefox_binary.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\firefox_profile.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\remote_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    copying build
\lib\selenium\webdriver\firefox\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\firefox
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\ie
    copying build
\lib\selenium\webdriver\ie\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\ie
    copying build
\lib\selenium\webdriver\ie\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\ie
    copying build
\lib\selenium\webdriver\ie\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\ie
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\opera
    copying build
\lib\selenium\webdriver\opera\options.py -> C:\Python34\Lib\site-packages\selenium\webdriver\opera
    copying build
\lib\selenium\webdriver\opera\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\opera
    copying build
\lib\selenium\webdriver\opera\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\opera
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
    copying build
\lib\selenium\webdriver\phantomjs\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
    copying build
\lib\selenium\webdriver\phantomjs\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
    copying build
\lib\selenium\webdriver\phantomjs\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\command.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\errorhandler.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\file_detector.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\mobile.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\remote_connection.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\switch_to.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\utils.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\webelement.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    copying build
\lib\selenium\webdriver\remote\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\remote
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\safari
    copying build
\lib\selenium\webdriver\safari\service.py -> C:\Python34\Lib\site-packages\selenium\webdriver\safari
    copying build
\lib\selenium\webdriver\safari\webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\safari
    copying build
\lib\selenium\webdriver\safari\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\safari
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\abstract_event_listener.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\color.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\events.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\event_firing_webdriver.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\expected_conditions.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\select.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\ui.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\wait.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\support\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver\support
    copying build
\lib\selenium\webdriver\__init__.py -> C:\Python34\Lib\site-packages\selenium\webdriver
    copying build
\lib\selenium\__init__.py -> C:\Python34\Lib\site-packages\selenium
   
byte-compiling C:\Python34\Lib\site-packages\selenium\common\exceptions.py to exceptions.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\common\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\android\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\android\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\blackberry\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\blackberry\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\options.py to options.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\remote_connection.py to remote_connection.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\service.py to service.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\chrome\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\action_chains.py to action_chains.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\alert.py to alert.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\by.py to by.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\desired_capabilities.py to desired_capabilities.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\html5\application_cache.py to application_cache.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\html5\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\keys.py to keys.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\proxy.py to proxy.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\service.py to service.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\touch_actions.py to touch_actions.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\utils.py to utils.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\common\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\options.py to options.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\service.py to service.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\edge\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\extension_connection.py to extension_connection.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\firefox_binary.py to firefox_binary.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\firefox_profile.py to firefox_profile.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\options.py to options.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\remote_connection.py to remote_connection.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\service.py to service.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\firefox\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\ie\service.py to service.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\ie\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\ie\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\opera\options.py to options.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\opera\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\opera\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs\service.py to service.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\phantomjs\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\command.py to command.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\errorhandler.py to errorhandler.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\file_detector.py to file_detector.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\mobile.py to mobile.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\remote_connection.py to remote_connection.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\switch_to.py to switch_to.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\utils.py to utils.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\webelement.py to webelement.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\remote\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\safari\service.py to service.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\safari\webdriver.py to webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\safari\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\abstract_event_listener.py to abstract_event_listener.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\color.py to color.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\events.py to events.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\event_firing_webdriver.py to event_firing_webdriver.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\expected_conditions.py to expected_conditions.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\select.py to select.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\ui.py to ui.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\wait.py to wait.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\support\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\webdriver\__init__.py to __init__.cpython-34.pyc
   
byte-compiling C:\Python34\Lib\site-packages\selenium\__init__.py to __init__.cpython-34.pyc
    running install_data
    creating C
:\Python34\Lib\site-packages\selenium\webdriver\firefox\x86
    error
: can't copy 'py\selenium\webdriver\firefox\x86\x_ignore_nofocus.so': doesn't exist or not a regular file

   
----------------------------------------
Command "C:\Python34\python.exe -u -c "import setuptools, tokenize;
__file__
='C:\\DOCUME~1\\me\\LOCALS~1\\Temp\\pip-frmu16l2-build\\setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record C:\DOCUME~1\me\LOCALS~1\Temp\pip-gd8gcrid-record\install-record.txt --single-version-externally-managed
--compile"
failed with error code 1 in C:\DOCUME~1\me\LOCALS~1\Temp\pip-frmu16l2-build\



Doug Dragon

unread,
Oct 14, 2016, 1:21:36 PM10/14/16
to Selenium Users
I'm thinking if you're going to roll selenium back you wouldn't need to worry about the error.

Since you're using pip I would just uninstall selenium with
pip uninstall selenium

Once that's done, install the specific version of selenium you want with
pip install selenium==2.53.1
Docs for installing

Hope this helps,

-Doug

nhtrader

unread,
Oct 14, 2016, 2:07:52 PM10/14/16
to Selenium Users
Doug,
thanks. I missed that section in PIP DOCs. That worked (pip install selenium==2.53.1). Rollback completed successfully.

I'm almost back to where I started. Now when Firefox opens (still using v 49.0.1, not 47.0.1), this error appears...
selenium.common.exceptions.WebDriverException:
Message: Can't load the profile. Profile Dir: C:\DOCUME~1\me\LOCALS~1\Temp\tmp8y2zc13m
If you specified a log_file in the FirefoxBinary constructor, check it for details.

nhtrader

unread,
Oct 14, 2016, 2:30:59 PM10/14/16
to Selenium Users
Just rolled back FF win32-enUS-49.0.1 to FF win32-enUS-46.0.1.

Just for the record, I tried using win32-enUS-47.0.1, but it didn't work so I went back to v46. I don't know why FFv47 worked yesterday, but I thought I'd post the results for future reference for older WinXP systems.

I now have selenium 2.53.1 working with FF 46.0.1 on a WinXP Pro (32bit).

That was a painful mistake upgrading to selenium 3.0.0 for WinXP(32bit). The good news is that I learned how to rollback or downgrade.

Reply all
Reply to author
Forward
0 new messages