Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qxf2/selenium-beginners
A simple Selenium + Python tutorial with 11 well crafted working examples.
https://github.com/qxf2/selenium-beginners
Last synced: 4 days ago
JSON representation
A simple Selenium + Python tutorial with 11 well crafted working examples.
- Host: GitHub
- URL: https://github.com/qxf2/selenium-beginners
- Owner: qxf2
- Created: 2015-09-25T18:55:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T04:33:39.000Z (over 1 year ago)
- Last Synced: 2024-08-02T17:37:45.175Z (3 months ago)
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 44
- Watchers: 8
- Forks: 65
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
--------
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.
####UPDATE:
This repo has been updated on 14-Sep-2022 to account for [some changes](https://github.com/SeleniumHQ/selenium/blob/a4995e2c096239b42c373f26498a6c9bb4f2b3e7/py/CHANGES) in Selenium 4.3.2 that were not backward incompatible. We also took this chance to update the scripts to use Python 3.x
--------
Setup:
--------
a. Install Python 3.xb. If you do not have it already, get pip
c. Add both to your PATH environment variable
d. Install the latest Selenium (pip install Selenium)
e. Download Geckodriver (https://github.com/mozilla/geckodriver/releases) and add it to your PATH environment variable
f. Download Chromedriver (https://sites.google.com/chromium.org/driver/) and add it to your PATH environment variable
g. 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])