# WebView2 Python app testing

**URL:** <https://forum.katalon.com/t/webview2-python-app-testing/150945>\
**Category:** Desktop Testing\
**Tags:** windows, web-testing, katalon-studio\
**Created:** [October 17, 2024, 6:21pm UTC](https://forum.katalon.com/t/webview2-python-app-testing/150945 "2024-10-17T18:21:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leishman\_keith](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/leishman_keith/32/22979_2.png) [@leishman\_keith](https://forum.katalon.com/u/leishman_keith)\
**Post date:** [October 17, 2024, 6:21pm UTC](https://forum.katalon.com/t/webview2-python-app-testing/150945/1 "2024-10-17T18:21:31Z")

</div>

Hello,

I am looking for some advice on how to go about testing a new application I was given to automate testing of.

The application appears to use Edge WebView2 and is wrapped into a desktop application and is written in Python. My python experience is 0.

Katalon doesn’t like any of how this works by what I’m used to, so trying to learn new methods to go about testing this.

My experience is mostly Web and Windows based apps.

I can launch the app as a desktop application using the Windows commands, but Katalon can’t find the app currently.

Additionally, the desktop app acts as a Host so I can also launch it in a browser with the app running…Although I currently can’t interact with that either other than viewing the elements…

TYIA

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [October 17, 2024, 11:16pm UTC](https://forum.katalon.com/t/webview2-python-app-testing/150945/2 "2024-10-17T23:16:22Z")

</div>

> [@leishman\_keith](#):
>
> Edge WebView2
> 
> … so trying to learn new methods to go about testing this.

I found an article:

> **[Use Playwright to automate and test in WebView2 - Microsoft Edge Developer...](https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/playwright)**
>
> Using Playwright to automate and test webpages in a WebView2 control.

---

<div class="post-metadata">

**Author:** ![leishman\_keith](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/leishman_keith/32/22979_2.png) [@leishman\_keith](https://forum.katalon.com/u/leishman_keith)\
**Post date:** [October 21, 2024, 3:06pm UTC](https://forum.katalon.com/t/webview2-python-app-testing/150945/3 "2024-10-21T15:06:14Z")

</div>

To expand on that…this article is also there stating that WebView2 should work with Edge WebDriver, which makes me assume Katalon should support this to some degree, it also states some information about debug settings/configurations that need to be in the applications code, so from my end I’m looking into that side, but with all intents, it appears Katalon should support this automation via Edge WebDriver as it also uses Selenium framework with WebView2 automation.

[Automate and test WebView2 apps with Microsoft Edge WebDriver - Microsoft Edge Developer documentation | Microsoft Learn](https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/webdriver)
