Code Monkey home page Code Monkey logo

selenium-iosdriver's Introduction

Selenium iOS Driver

Currently to build the iOS web driver for selenium you must download all the selenium source code (see https://code.google.com/p/selenium/wiki/IPhoneDriver).

This means a ~450MB download just to compile and run the iOS driver. For the purposes of simplified distribution this project allows distribution of just the essential files to compile the app (closer the 20MB total).

Under the driver/ directory is the latest version distributed in this repo.

Building

To build the app for the iOS simulator using the latest iOS SDK installed on your machine run:

rake selenium:iosdriver:build

The build files are then found at driver/iphone/build/.

Updating

To update there is a rake task that will pull down the full SVN repo into a hidden directory (.svn-copy/) run a build task (./go iphone_atoms) and then copy the necessary files into the driver/ directory. To run this call:

$ rake selenium:update

If you want to update to a particular tag in the Selenium SVN repository:

$ rake selenium:update TAG=selenium-2.25.0

Output from these commands will be something like:

$ rake updateChecking out the latest revision at http://selenium.googlecode.com/svn/trunk/.
If this is the first time it may take several minutes.
Successfully checked out revision '17708' from SVN.
Successfully generated atoms.h for iOS.
Successfully copied files into repo.

Update complete.

Once the update is complete the driver/ directory is managed by GIT so you can review the changes and commit these. Our approach has been to mention the SVN version in the commits also tagged these commits like so:

This makes it easier to track which SVN version is committed.

selenium-iosdriver's People

Contributors

mhaylock avatar

Watchers

kd 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.