Giter VIP home page Giter VIP logo

applitools / example-selenium-python-pytest Goto Github PK

View Code? Open in Web Editor NEW
2.0 8.0 9.0 66 KB

Applitools Example: Selenium in Python with pytest

Home Page: https://applitools.com/tutorials/quickstart/web/selenium/python

License: Apache License 2.0

Python 100.00%
tutorial applitools applitools-example applitools-eyes applitools-tutorial pytest python selenium selenium-webdriver test-automation

example-selenium-python-pytest's Introduction

Applitools Example: Selenium in Python with pytest

This is the example project for the Selenium Python pytest tutorial. It shows how to start automating visual tests with Applitools Eyes and Selenium WebDriver in Python.

It uses:

It can also run tests with:

To run this example project, you'll need:

  1. An Applitools account, which you can register for free
  2. A recent version of Python 3
  3. A good Python editor like Visual Studio Code or PyCharm.
  4. An up-to-date version of Google Chrome.
  5. A corresponding version of ChromeDriver.

To install dependencies, run:

pip install -r requirements.txt

The main test case spec is test_acme_bank.py. By default, the project will run tests with Ultrafast Grid but not Execution Cloud. You can change these settings in conftest.py.

To execute tests, set the APPLITOOLS_API_KEY environment variable to your account's API key, and then run:

python3 -m pytest -s -v tests

For full instructions on running this project, take our Selenium Python pytest tutorial!

example-selenium-python-pytest's People

Contributors

ale-sanchez-g avatar artem-applitools avatar automationpanda avatar colbyfayock avatar danielputerman avatar eirenik0 avatar rajaraodv avatar sophiedepaula avatar yarden-ingber avatar yuriichere avatar

Stargazers

 avatar  avatar

Watchers

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