What can WebBrowser support?

The WebBrowser control supports these features:

  • Supports browsing web page that contains JavaScript

  • Supports accessing web page that requires basic or digest authentication

    The WebBrowser control will automatically display a login window for the user to enter the user name and password for authentication. If the authentication fails, this window will display again until the authentication is successful or the authentication operation is cancelled.

  • Supports browsing HTML and HTML5 pages

  • Supports browsing a PDF file online

  • Supports browsing local files (including htm, gif, jpg, jpeg, png, swf, txt, c, cpp, pdf, etc.) and does not support browsing the Microsoft Office file including docx, xlsx etc. or any file that cannot be opened by Google Chrome.

  • Supports browsing videos in most common non-proprietary formats. Proprietary formats such as MPEG-4 ASP, H.264, and H.265 formats are not supported.

  • Supports accessing microphone or camera on the device

  • Supports playing flash (with the flash plug-in installed by the user)

  • Supports browsing web pages that support multiple languages

  • Supports printing web pages as PDFs and responding to the print events

  • Supports the various HTTPS protocols

  • Supports the right-mouse context menus

  • Supports web page zoom in/out

  • Supports responding to the error event from the server certificate

  • Supports dynamically configuring the file download location

  • Supports responding to the keyboard actions (such as F5)

And:

  • Does not support callback of the popup window

  • Does not support cookie manipulation interface

  • Does not support request irrelevant to the browser

  • Does not support receiving focus when the user tabs among controls within a window

  • Does not support searching within the web page

  • Does not support drag & drop in the web page

  • Does not support Google Developer tools

  • Does not support loading the local file from different origins via file:/// (you will have to use http or https)

  • Does not support Google authentication (because Google does not allow OAuth requests to Google via embedded browsers)

For a complete list of properties/functions/events of the WebBrowser control, refer to the section called “WebBrowser control” in Objects and Controls.

Note

For code examples of using the WebBrowser control in the PowerBuilder application, refer to the Example Graph App included in the product or https://github.com/Appeon/PowerBuilder-Graph-Example.