Questions tagged [tedgebrowser]

For questions about the Delphi TEdgeBrowser component (MS Edge based on Chromium).

38 questions
1
vote
0 answers

Cannot suppress downloads menu when a download starts in TEdgeBrowser

Since I can no longer call active-X from my client JavaScript as I did with TWebBrowser since 2013, I had to write a work-around. I have it working except for the Fly-Out menu that Edge throws out. I have gone into the settings and turned it off. …
Meta Mussel
  • 548
  • 1
  • 5
  • 19
1
vote
0 answers

Migrating TWebBrowser code to TEdgeBrowser, how to send Post data?

I am attempting to convert some code from TWebBrowser to use TEdgeBrowser, but I am having trouble figuring out how to send post and header data with an HTTP request. Below is the TWebBrowser functionality that I'm trying to implement: var …
1
vote
1 answer

Enabling Single Sign On in TEdgeBrowser

I have some C# code that shows how to enable Single Sign On in WebView2. The TEdgeBrowser doesn't expose any of the properties that the C# code uses. In particular the interface defined in the Winapi.WebView2 unit for ICoreWebView2EnvironmentOptions…
Keith Miller
  • 1,718
  • 1
  • 13
  • 22
1
vote
0 answers

Replacing TWebBrowser with TEdgeBrowser in Delphi 11

TEdgeBrowser replaces TWebBrowser. It is new. TEdgebrowser is supposed to run Javascript and it does. I took the same code that I used for TWebBrowser, stripped down to its minimum. With Google Maps leaving IE, this is imperitive that we able able…
1
vote
2 answers

Failed to initialise Edge browser control

Having a hard time attempting to run an example how to use TEdgeBrowser component on Windows 10. Using the latest RAD Studio 10.4.1 (27.0.38860.1461) The example is located under this…
1
vote
1 answer

WebView2 (TEdgeBrowser) not working in background (if not visible on screen) - only shows as grey rectangle

I've confirmed this issue using the standard Delphi 10.4 EdgeBrowser VCL demo with the only difference that I have put the panel with the edgebrowser component on a TPageControl Tabsheet. Now if my app starts with the Edgebrowser not visible…
user1579166
  • 117
  • 1
  • 2
  • 10
0
votes
0 answers

TEdgeBrowser and CoreWebView2 printing in C++ Builder

CoreWebView2 exposes methods like ShowPrintUI which I'd like to utilize. However, it seems that RAD Studio, even in the latest version 11.3 has hpp files from a pretty old build - 1.0.1054.31 from 2021, at least that is shown in the GetIt Package…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
0
votes
0 answers

Zoom the view of TEdgeBrowser

What is the equivalent of the piece of code below for zooming with the new TEdgeBrowser delphi component? This is how I used the old TWebBrowser component. procedure ApplyZoom(ZoomValue: Integer); var pvaIn, pvaOut: OLEVariant; begin pvaIn :=…
Matteo Pasini
  • 1,787
  • 3
  • 13
  • 26
0
votes
0 answers

Loading external javascript in html when using TEdgeBrowser

It seems when i use TEdgeBrowser and navigate to my html file, that loading external local javascript files in that html does not work. -nothing happens for example i have in html: …
0
votes
0 answers

How to get IHTMLDocument2 interface in TWebBrowser EdgeMode (SelectedEngine = EdgeOnly)

I want to use the MSHTML interfaces IHTMLDocument2, IHTMLElement2, IHTMLElementCollection, etc with TWebBrowser. In Document := WebBrowser.Document as IHTMLDocument2; when TWebbrowser.SelectedEngine = IEOnly then everything is fine. But, when I…
0
votes
0 answers

Delphi 11 work with TEdgeBrowser, get HTML element

There is some page, which contains:
Lookhome
  • 11
  • 2
0
votes
1 answer

TEdgeBrowser for Delphi - capture tab content and relay it

I am using the TEdgeBrowser component in a browser/viewer Delphi application. I had few issues after a brief learning curve for the original implementation. I am now at a point where I can experiment with some of the features (like screen…
stackman
  • 37
  • 6
0
votes
1 answer

1 How can I get InnerText from Element with Class Name using the new TEdgeBrowser in delphi 10.4?

I am trying to migrate from an old code using twebrowser to the new tedgebrowser, but the edgebrowser doesn't have the same properties, so I can't use my old function anymore I was using the function that I got here: GetElementByClass? function…
0
votes
1 answer

Unable to parse remote response: Misconfigured -- Unsupported OS/browser/version/device

I wanted to run my scripts in Saucelabs by launching Edge driver but when the scripts is triggered getting an error as " Unable to parse remote response: Misconfigured -- Unsupported OS/browser/version/device combo: OS: 'Windows 10', Browser:…
chandana
  • 3
  • 2
0
votes
1 answer

TEdgeBrowser Canary requirement

I tested TEdgeBrowser in RAD Studio 10.4.2 Sydney. Dropping the component onto a Form in C++Builder and then calling: EdgeBrowser1->Navigate("https://www.stackoverflow.com/"); This results in an error on my development machine: Failed to find an…
Coder12345
  • 3,431
  • 3
  • 33
  • 73