Code Monkey home page Code Monkey logo

python-selenium-browserstack's Introduction

Cross Browser Sanity Check framework

Framework created on: Feb 2017

Tech Stack

Python Selenium BrowserStack TODO: Need to obtain an official plan from BrowserStack, free trial has limitations but it's sufficient to practise

Setup and Installation

Requirements

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

Browser Download URL
Chrome https://sites.google.com/a/chromium.org/chromedriver/downloads
Edge https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
Firefox https://github.com/mozilla/geckodriver/releases
Safari https://webkit.org/blog/6900/webdriver-support-in-safari-10/

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.

python-selenium-browserstack's People

Contributors

cathymmeng avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.