Framework created on: Feb 2017
Python Selenium BrowserStack
TODO: Need to obtain an official plan from BrowserStack, free trial has limitations but it's sufficient to practise
Requirements
- Python 2.7.10 +
- Selenium Python
- Selenium webdriver
Install Python
For Windows user please download the application from here, follow the prompts to finish installation
For OS X user, the latest version of Mac OS X, Sierra, comes with Python 2.7 out of the box. To install other versions please download from here or simply run command below from terminal
$ brew install python
$ python -V
Install Selenium and Selenium drivers Install Python pip and then install python selenium binding For Windows,
<PYTHON_HOME>\pip.exe install selenium
For OS X,
pip install selenium
Download Selenium drivers and place them in your PATH This is for local verification if a different type of browser has installed locally, a range of OS and browser combinitions are provided by BrowserStack. After download, the drivers need to be placed in your PATH, e. g., in /usr/bin or /usr/local/bin for OS X
Setup Verification Navigate to folder src/features/ and run command below For Mac OS X or Linux users:
$ python localPlayGround.py
For Windows:
<PYTHON_HOME>\python.exe localPlayGround.py
Have you seen the IOOF main page opened up in a Chrome browser? Congratulations & you are ready to explore the rest of the world! If not, please recheck all steps mentioned above and good luck.