Skip to content

Vv/selenium python integration#246

Draft
vishnuv688 wants to merge 12 commits into
mainfrom
vv/selenium-python-integration
Draft

Vv/selenium python integration#246
vishnuv688 wants to merge 12 commits into
mainfrom
vv/selenium-python-integration

Conversation

@vishnuv688

@vishnuv688 vishnuv688 commented Jul 2, 2026

Copy link
Copy Markdown
Member

What & why

Currently, DevTools supports only TypeScript and JavaScript tests, as it was originally designed for WebdriverIO. With the addition of Selenium support, we are also introducing Python support as a first step, since Selenium supports multiple languages such as Python, Java, JavaScript, and Ruby.

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Polish (an improvement to an existing feature)
  • Breaking change (existing behavior changes for users)
  • Documentation
  • Internal (build, CI, dependencies, tooling)

Packages touched

  • shared (types and contracts)
  • core (framework-agnostic capture/reporting)
  • service (WebdriverIO adapter)
  • nightwatch-devtools (Nightwatch adapter)
  • selenium-devtools (Selenium adapter)
  • backend (server)
  • app (UI)
  • script (page-injected runtime)

Notes for reviewers

Screenshots / recordings

Comment on lines +23 to +37
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.12']
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python-version }}
- name: Contract is in sync with shared
run: |
python scripts/gen_contract.py
git diff --exit-code src/wdio_selenium_devtools/_contract.py
- name: 🧪 Unit tests
run: PYTHONPATH=src python -m unittest discover -s tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants