Aravinth-Earth / Selenium-Python

Sample selenium webdriver script to work with web browsers in python scipt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selenium-Python

Sample selenium webdriver script to work with web browsers in python script

Pre-requisites:

  1. Install an IDE (Integrated Development Environment) {Select one from Full fledged IDE or light-weight Text based IDEs} *. Going with Pycharm Community - Available here https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=windows&code=PCC
  2. Install Python software code modules *. Getting the file from https://www.python.org/ftp/python/3.10.2/python-3.10.2-amd64.exe
  3. Install/Import selenium language specific machine files
    • Using python -m pip install selenium
  4. Browser web-drivers
    1. Chrome *. Getting the file from https://chromedriver.storage.googleapis.com/98.0.4758.102/chromedriver_win32.zip
    2. Microsoft Edge *. Getting the file from https://msedgedriver.azureedge.net/98.0.1108.56/edgedriver_win64.zip
    3. Firefox *. Getting the file from https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-win64.zip

The scenarios tried are,

  • Cross Browser calls
  • Basic site actions
    • Load site
    • Enter value in input field
    • Click on an element

File History:

  • Added on 21-Feb-2022
  • Last Updated on 22-Feb-2022

About

Sample selenium webdriver script to work with web browsers in python scipt

License:GNU General Public License v2.0


Languages

Language:Python 100.0%