Skip to main content

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 interaction
  • wgc-core — config, logger
  • wgc-helpers — waiter, localization, requirements

Metadata

Release files for wgc-pages 4.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wgc-pages 4.0.1
File Size Uploaded
wgc_pages-4.0.1.tar.gz 86.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wgc-pages 4.0.1
File Interpreter ABI Platform
wgc_pages-4.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 191.3 kB

Release files / wgc_pages-4.0.1.tar.gz

Download URL wgc_pages-4.0.1.tar.gz
Size 86.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6dae39d9768bba970df83f4641ca4ba863bf6ed158ada41940ac138650422941
BLAKE2b-256 checksum
How to use checksums
4685817158062bf7d5e0d92d525f83abe28e01772524c9c39b1c33e997e46ba6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / wgc_pages-4.0.1-py3-none-any.whl

Download URL wgc_pages-4.0.1-py3-none-any.whl
Size 104.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0bf84df6348ecd1a04f430ee321062c31efdd66f33930aed330002d861e625e
BLAKE2b-256 checksum
How to use checksums
26234fbfba242678318456b0f5b880c9ac43f9ca8c14bf239027e401dc0fa998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

4.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page