Webbrowser control - How to display Google Chrome in a control

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
This topic is 3 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
ddunst
Posts: 2
Last visit: Mon Nov 16, 2020 7:09 am

Webbrowser control - How to display Google Chrome in a control

Post by ddunst »

Powershell Studio, Version: 5.7.173 on Windows 10
PowerShell version(s): 5.1.18362.1110

So the Webbrowser control only supports IE (true?)
If so, with IE going away, what control can we use to display a website inside of an application developed using Powershell Studio?
Will Sapien be adding the WebView2 control? (can't post the URL, but you can google WebView2
Is there another control we should be using?

Thanks
User avatar
brittneyr
Site Admin
Posts: 1672
Last visit: Wed Apr 17, 2024 1:24 pm
Answers: 39
Been upvoted: 31 times

Re: Webbrowser control - How to display Google Chrome in a control

Post by brittneyr »

You are correct, the WinForms WebBrowser control only supports IE. To have it run the latest version of IE, you need to set it. A snippet as to how to set that can be found in the snippet panel:
SPS_BrowserSnippet.png
SPS_BrowserSnippet.png (17.42 KiB) Viewed 2717 times
At the moment, the new WebView2 control that was built on the latest version of Edge with Chromium is a preview. This is on our list of things to do, but at this time, this is no timeline as to when this will be added.
Brittney
SAPIEN Technologies, Inc.
This topic is 3 years and 5 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.