MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
437 stars 51 forks source link

A python binding for WebView2 #1434

Open congzhangzh opened 3 years ago

congzhangzh commented 3 years ago

Is your feature request related to a problem? Please describe.

A python binding for WebView2.

Describe the solution you'd like and alternatives you've considered

A python directly useable api to show and communicate with browser control, like https://pywebview.flowrl.com/

AB#33991536

champnic commented 3 years ago

Hey @congzhangzh - I think it's unlikely we would take on this work ourselves. There are currently some projects that wrap a WebView (like WebView2) using python, for example: https://wxpython.org/Phoenix/docs/html/wx.html2.WebView.html#webview-backend-edge-msw

If you'd like I can add this as a scenario on our backlog, but it will be low priority and likely be a long time before we do this work. Let me know!

congzhangzh commented 3 years ago

@champnic Sure, add to backlog, and I will watch and wait:), as webview2’s upstream chromium, python are all roll based release, provide a solided release maybe very challenging for community, Microsoft hand it please!

I just want to get an official release of webwindow, but for python:)

https://github.com/SteveSandersonMS/WebWindow

champnic commented 3 years ago

@congzhangzh Done - I've opened this scenario on our backlog.

If a python wrapper was built by a third party on our SDK and APIs, it should be stable - our APIs are forward compatible with new WebView2 Runtime releases. The only thing the wrapper would be missing out on if it didn't choose to update with new SDKs are when we release new APIs.

marcelomanzo commented 1 year ago

1+ for this