---
title: "u2_webview | AwesomeCUA"
url: https://awesomecua.com/resources/github-yuyoungg-uiautomator2-webview/
updated: 2026-11-10
type: tool
lang: en
---

# u2_webview

A uiautomator2 extension that attaches to WebView pages in Android hybrid apps over CDP through DrissionPage, so one Python script can drive both the native UI and the H5 layer.

- Catalog URL: https://awesomecua.com/resources/github-yuyoungg-uiautomator2-webview/
- Original source: https://github.com/YuYoungG/uiautomator2-webview
- Kind: tool
- Review: curated
- Scope: adjacent
- Environments: android
- Topics: automation
- Evidence checked: 2026-11-10T06:29:29Z
- ID: github:yuyoungg/uiautomator2-webview

## Limitations

Installed from PyPI as u2_webview on Python 3.8+; it needs ADB debugging on the device and WebView debugging enabled in the app under test, and uses adbutils for port forwarding. License MIT.

- Record JSON: https://awesomecua.com/resources/github-yuyoungg-uiautomator2-webview/record.json

## License declarations

- code: MIT — https://raw.githubusercontent.com/YuYoungG/uiautomator2-webview/HEAD/LICENSE
- data: not recorded
- document: not recorded
- weights: not recorded

## Primary evidence

- https://raw.githubusercontent.com/YuYoungG/uiautomator2-webview/b820e606eb06d50f4305c46f9d31b35075adeec8/README.md (retrieved 2026-11-10T06:29:29Z; SHA-256 30410f539c2f6a878b46757ba4d75e3cd7df9b135b652757282f366a913f66c6)
- https://raw.githubusercontent.com/YuYoungG/uiautomator2-webview/HEAD/LICENSE (retrieved 2026-11-10T06:22:32Z; SHA-256 cabc323bfadea97ae0dab1cc1fd11d612f81d3232cc15fecd6380eb0e1709ad8)
