Page Objects for WGC QA framework
Project description
wgc-pages
Page Objects for the WGC QA framework. Provides high-level API for interacting with every page and dialog in Wargaming Game Center.
Page Object Pattern
Each WGC screen is represented by a Python class with methods for user actions:
from wgc_pages import PageArsenalCommon, PageArsenalLogin, PageArsenalInstalledGame
# Login
login_page = PageArsenalLogin(client)
login_page.login(email='test@test.com', password='pass123')
# Navigate to installed game
common = PageArsenalCommon(client)
common.open_game('WOT')
# Interact with game page
game_page = PageArsenalInstalledGame(client)
game_page.click_play()
game_page.wait_for_game_launch()
Available Pages
Arsenal Pages (New UI)
| Page | Class | Description |
|---|---|---|
| Common | PageArsenalCommon |
Navigation, game list, sidebar, surveys |
| Login | PageArsenalLogin |
Login forms (WG ID, OAuth, 2FA, Steam) |
| Registration | PageArsenalRegistration |
Account registration, demo accounts |
| Installed Game | PageArsenalInstalledGame |
Game management: play, update, repair, patches |
| Not Installed | PageArsenalNotInstalledGame |
Game installation initiation |
| Game Settings | PageArsenalGameSettings |
Game-specific settings (path, components) |
| Preinstall | PageArsenalPreinstallSettings |
Pre-install configuration (path, components) |
| Settings | PageArsenalSettings |
WGC application settings |
| Profile | PageArsenalProfile |
User profile management |
| Shop | PageArsenalShop |
In-app store, product browsing |
| Overlay | PageArsenalOverlay |
In-game overlay UI |
| Notifications | PageArsenalNotifications |
Notification center |
| Queue | PageArsenalQueue |
Download queue management |
| Support | PageArsenalSupport |
Support page |
| Legal Docs | PageArsenalLegalDocs |
EULA, privacy policy |
| About | PageArsenalAbout |
About dialog |
Classic Pages
| Page | Class | Description |
|---|---|---|
| Common | PageCommon |
Base page: login, account switching, Steam |
| Game | PageGame |
Game management (classic UI) |
| Game Install | PageGameInstall |
Game installation flow |
| Install by ID | PageInstallById |
Install game via command line ID |
| Import | PageImport |
Import existing game installations |
| Showroom | PageShowroom |
Game showcase/storefront |
| Settings | PageSettings |
WGC settings (classic) |
| Purchase | PagePurchase |
Purchase flow |
| Overlay | PageOverlay |
Overlay (classic) |
| Plugin | PagePlugin |
Plugin page |
| Game News | PageGameNews |
In-app news |
| About | PageAbout |
About dialog |
| Legal Docs | PageLegalDocs |
Legal documents |
Install
pip install wgc-pages
Dependencies
wgc-client— WGCClient for UI interactionwgc-core— config, loggerwgc-helpers— waiter, localization, requirements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wgc_pages-4.0.1.tar.gz
(86.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wgc_pages-4.0.1-py3-none-any.whl
(104.8 kB
view details)
File details
Details for the file wgc_pages-4.0.1.tar.gz.
File metadata
- Download URL: wgc_pages-4.0.1.tar.gz
- Upload date:
- Size: 86.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dae39d9768bba970df83f4641ca4ba863bf6ed158ada41940ac138650422941
|
|
| MD5 |
79e33ea552b72f36e351cb415ebb1821
|
|
| BLAKE2b-256 |
4685817158062bf7d5e0d92d525f83abe28e01772524c9c39b1c33e997e46ba6
|
File details
Details for the file wgc_pages-4.0.1-py3-none-any.whl.
File metadata
- Download URL: wgc_pages-4.0.1-py3-none-any.whl
- Upload date:
- Size: 104.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0bf84df6348ecd1a04f430ee321062c31efdd66f33930aed330002d861e625e
|
|
| MD5 |
49484d2c94a66722c01e7cbe3d916514
|
|
| BLAKE2b-256 |
26234fbfba242678318456b0f5b880c9ac43f9ca8c14bf239027e401dc0fa998
|