- If you have the brew package manager installed, update it:
brew update - Use brew to install (or upgrade) the chromedriver program:
brew upgrade chromedriver - Make and use a Python virtualenv for the framework installation:
pip install --upgrade virtualenv
source virtualenvwrapper.sh # Note: Depends on where virtualenvwrapper.sh was installed to.
mkvirtualenv robotframework
workon robotframework
cdvirtualenv - Install the necessary framework packages:
pip install --upgrade robotframework
pip install --upgrade robotframework-selenium2library
pip install --upgrade requests
Wednesday, November 2, 2016
Installing Robot Framework on a MacBook
I recently faced challenges getting the open source Robot Framework to work on my MacBook, which is running OS X El Capitan. In general, the installation process should be trivial, but here's what finally worked:
Labels:
MacBook,
Python,
QA Testing,
Tools,
Website Testing
Subscribe to:
Post Comments (Atom)
I recently heard from a fellow engineer that Selenium 3 includes support for using browser drivers directly embedded by the browser suppliers. This eliminates the need to have and maintain an up-to-date external copy of chromedriver and the like! Way cool, but the new support is also buggy and is still being refined. But this is a hopeful development for sure!
ReplyDelete