trumans / selenium-python-wikipedia

Tests using Selenium and Python on Wikipedia.org site
0 stars 2 forks source link

The project uses Python and Selenium WebDriver with a page-object model structure to verify Wikipedia.org. Test cases use the PyUnit/unittest framework.

Code organization

test_wikipedia.py

Test Cases

Helper Functions

Prerequisites

Installation for supporting Selenium components can be found at

https://selenium-python.readthedocs.io/installation.html

Execution

In terminal window

  1. navigate to folder with test scripts
  2. enter command: python3 test_wikipedia <browser>

    where browser is one of chrome, safari, firefox or ie

Coding examples

Decorator

Stale Element Reference exception

Dynamic element - Suggestions dropdown on input field