0% found this document useful (0 votes)
5 views

Selenium With Python

The document provides a guide for setting up Selenium with Python, including installation instructions for Python, PyCharm IDE, and Selenium libraries. It also covers the installation of WebDrivers for various browsers and introduces the PyTest framework for testing. Additionally, it includes links to resources for further learning and version control with GitHub.

Uploaded by

dacans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Selenium With Python

The document provides a guide for setting up Selenium with Python, including installation instructions for Python, PyCharm IDE, and Selenium libraries. It also covers the installation of WebDrivers for various browsers and introduces the PyTest framework for testing. Additionally, it includes links to resources for further learning and version control with GitHub.

Uploaded by

dacans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Selenium with Python+GitHub

Agenda
• Installing Python on Windows
• Selenium Packages
• Installing PyCharm IDE
• Selenium WebDrivers
• Some Knowledge Portals
• PyTest Framework
• Versioning with GitHub

© 2018 Capgemini. All rights reserved.


Installing Python

Download Python
(https://www.python.org/downloads/)
For more Learning: https://www.jetbrains.com/pycharm-edu/

As i have already installed Pycharm i opted for plugin install


EduTools. Pycharm Edu is free & open source.
Learn Programming here (Choose your track as Python):
https://www.jetbrains.com/academy/

Verify the installation

© 2018 Capgemini. All rights reserved.


Installing Selenium Libraries
Install Selenium Libraries for Python
This is the command: pip install –U selenium

Alternatives:
https://selenium-python.readthedocs.io/installation.html
https://pypi.org/project/selenium/
Lib and script folders updated with selenium packages

© 2018 Capgemini. All rights reserved.


PyCharm IDE and WebDrivers...

Install PyCharm IDE


https://www.jetbrains.com/pycharm/download
Check selenium library and settings (Pre requisites)
Write a simple code to check it works

Let’s download Chrome, IE and Firefox Drivers


https://www.selenium.dev/downloads/
https://pypi.org/project/selenium/
For MS Edge browser: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
KM: https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#required-configuration
Sample Demo Application can be used: http://newtours.demoaut.com/

© 2018 Capgemini. All rights reserved.


Pytest Framework

Pip install –U pytest


https://docs.pytest.org/en/latest/contents.html
https://github.com/chinmaya1155/cks-14062020
Download Git: https://git-scm.com/downloads

© 2018 Capgemini. All rights reserved.

You might also like