Giter Club home page Giter Club logo

selenium-beginners's Introduction


Learn Selenium using examples for beginners

Selenium lets you control the browser through a script. Selenium lets you interact with browsers in a manner similar to real users interacting with browsers. We present small code samples that help you learn selenium from scratch using Python. These are example code for some of the most commonly performed actions on a webpage like navigating to a URL, fill in the text, click buttons, hover over elements, choose drop downs, validate text, etc.


Motivation for creating this repository

We noticed that many people who plan on learning selenium think it would take a lot of effort and time and hence would never start learning it. This small collection of 11 wellcrafted working examples would help you to learn Selenium quickly. Working through this example you will notice how easy it is to get started and perform various actions on a webpage.

This code is a companion to a Selenium tutorial (aimed at newbies) we presented as part of the Mangaluru Software Testing Group. This page was created by Qxf2 Services (http://qxf2.com) and Mangalore Infotech (http://mangaloreinfotech.in/) to help testers practice Selenium.

Qxf2 provides QA consultancy services for startups. If you found this repository useful, please let us know by giving us a star on GitHub.


Setup:

a. Install Python 2.x

b. If you do not have it already, get pip

c. Add both to your PATH environment variable

d. Install Selenium (pip install Selenium)

e. Download Geckodriver (https://github.com/mozilla/geckodriver/releases) and add it to your PATH environment variable

f. Open command prompt, navigate to the folder you have downloaded the repo and run the example code using command eg: python 01_Navigate_Url.py

Pro tip: Once you are setup, try your best to timebox each exercise to no more than 10-minutes. We recommend this tip for even rank beginners who know nearly nothing about Selenium and Python!


DISCLAIMER:

This code is aimed at Selenium BEGINNERS. For more advanced tutorials and to learn how Qxf2 writes GUI automation, please visit our:

a) Our GUI automation guides: http://qxf2.com/gui-automation-diy

b) Other GitHub repos: https://github.com/qxf2


AUTHORS:

Avinash Shetty ([email protected])

Arunkumar Muralidharan ([email protected])

selenium-beginners's People

Contributors

arunkumarmuralidharan avatar qxf2 avatar qxf2-blr 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.