Questions tagged [dotnetbrowser]

Use this tag for questions about DotNetBrowser, a Chromium-based control which allows .NET applications to display web pages.

Filter by
Sorted by
Tagged with
0 votes
0 answers
63 views

Window freezing when not active using dotnetbrowser

I have searched around about this weird .NET WinForms application behavior and I couldn't find an explanation or a solution. I have a From which has a dotnetbrowser (chromium) component that loads a ...
M. Serseg's user avatar
  • 103
0 votes
1 answer
49 views

dotnetbrowser does not work properly after setting socks5

After setting socks5 proxy IP, dotnetbrowser can't access it, ERR_CONNECTION_RESET error appears, does dotnetbrowser support socks5, how to set it correctly if it does? I set it up this way, but it ...
regina's user avatar
  • 1
1 vote
1 answer
109 views

dotnetbrowser javascript interacting with c# this[string name]

I have a project that i am running .NET code inside. i need to use the existing objects and cannot modify them. The class in c# that i am trying to use is class Fields { Hashtable list = new ...
gashach's user avatar
  • 420
0 votes
1 answer
98 views

DotNetBrowser DOM Events

Please help me Here My Code But Not Work //using DotNetBrowser { document = browser.GetDocument(); DOMInputElement txtsearch = (DOMInputElement)document.GetElementByClassName(&...
Alen Smith's user avatar
0 votes
1 answer
88 views

Does DotNetBrowser support WebAuthn / PublicKeyCredentials?

As far as I can tell from my initial attempts, I don't think it does. I can't find any mentions on the interwebz, or in the dotnetbrowser documentation. Logs seem to imply some failure that might be ...
mrmoosehead's user avatar
0 votes
1 answer
278 views

Is there a way to connect to my existing DotNetBrowser session using playwright

I want to automate the web view of the hybrid screen (DotNetBrowser inside a .Net Container) using Playwright automation tool. I have checked by providing the value(URL of the Web view) as EndPoint ...
user18629636's user avatar
0 votes
1 answer
79 views

dotnet browser throwing Reload site prompt

I am using dotnetbrowser 2.8 version I have wpf page where I have 2 grids. one containing dotnetbrowser added to a grid and other contain a button. I am loading a webpage using dotnetbrowser and ...
VMG's user avatar
  • 129
2 votes
1 answer
512 views

how to detect and open link in new tab/window/winform in DotNetBrowser

I using DotNetBrowser and want to open link in new window/winform/tab when click on link however when we click on any link DotNetBrowser open them in current window I know i should override ...
alex matius's user avatar
0 votes
1 answer
126 views

How to allow DotNetBrowser v. 1.21.5.0 to access EXE file stored on local machine

i have a specific questions in regards to using DotNetBrowser library in C# project. I am asking because i have already seen some answers for DotNetBrowser here and i figured someone might have an ...
Richard Rahl's user avatar
0 votes
0 answers
142 views

Download File Silently with DotNetBrowser

How can I download files silently with the DotNetBrowser? Every time I download a file, I am shown the file dialog. In the example below, there is a download link on the page. When I click it, I would ...
user3015299's user avatar
0 votes
1 answer
267 views

What exactly must be specified for keycode and keychar when simulating keypresses (vb.net or c# with dotnetbrowser)

(I'm asking with vb examples, but the same applies for c# and the answer would be the same.) I'm trying to fill in a form using dotnetbrowser and have problems understanding what exactly to put into ...
Thomas's user avatar
  • 113
0 votes
1 answer
233 views

DotNetBrowser and Promises

I'm using DotNetBrowser as a sort of headless Javascript engine within a .Net app. It seems DotNetBrowser has no support for Promises, or I am not using invoking them properly. In JS: window....
Torber-Rade's user avatar
0 votes
1 answer
147 views

How to provide Credentials in http Proxy in Dotnetbrowser?

I'm working in Dotnetbrowser using proxy without credentials. But i need to provide username and password in proxy. I'm implementing the code in my constructor. This is my working code string ...
skhurams's user avatar
  • 2,135
2 votes
0 answers
155 views

DotNetBrowser: How to use multiple IEngine?

I'm having trouble using multiple DotNetBrowser IEngine instances at once. Whenever I try to use more than one at a time, they conflict, even though I have already defined different folders for each ...
Caio Ruiz's user avatar
0 votes
1 answer
262 views

User data not persisting in DotNetBrowser component

Using DotNetBrowser in WPF app in Windows 10. When navigating to certain pages that typically save user data and use it in subsequent loads to restore your settings, it doesn't seem to be happening. ...
Ben's user avatar
  • 515
1 vote
0 answers
47 views

Stopping touch gesture of an active pane penetrating and activating object behind it in Visual Studio 2019 adn dotnetbrowser

First of all, I am a project manager in developing a browser for a specific use at client's corporation. My experience is in network infrastructure however I know a tiny bit programming and what it ...
irisardi's user avatar
1 vote
1 answer
164 views

Why DotNetBrowser not set permission granted in some site?

Create an Engine instance: engine = EngineFactory.Create(new EngineOptions.Builder { RenderingMode = RenderingMode.HardwareAccelerated, UserDataDirectory = ...
Архипов Владимир's user avatar
1 vote
1 answer
302 views

Listen for callbacks in dotNetBrowser

How can I use dotnetbrowser doing the following in a winform application? Create a listener that listen for callbacks to a specific redirect url. Open url in dotnetbrowser. The url makes the callback ...
Mike's user avatar
  • 59
2 votes
1 answer
135 views

How can take parent iframe as IElement using DotNetBrowser?

I need write function for take real top and left element in window. In DotNetBrowser we can take coordinates: int Y = el.BoundingClientRect.Origin.Y; int X = el.BoundingClientRect.Origin.X; but its ...
Архипов Владимир's user avatar
0 votes
2 answers
1k views

Prevent Canvas Fingerprinting in DotNetBrowser

I am trying to get DotNetBrowser to not be identified using Canvas Fingerprinting. You can see details at this website: https://browserleaks.com/canvas I've tried turning off the following switches: ...
Penfold's user avatar
  • 11
0 votes
1 answer
66 views

Button elements are supposed to be input elements, but the .click() method fails on many button elements that should be clickable

I am trying to use dotnetbrowser to log into facebook currently, but I have run into this issue with other button elements on a few different sites. facebook login page has elements with ID attributes:...
Stephanie Jason's user avatar
0 votes
0 answers
71 views

Modify ResponseBytes using DotNetBrowser

Sample: br.instance.engine.Network.ResponseBytesReceived += (s, e) => { try { byte[] data = e.Data; string resp = ...
Архипов Владимир's user avatar
2 votes
1 answer
159 views

How can I block loading remote content in DotNetBrowser?

I'm using the DotNetBrowser in my WPF emailing application to display the emails content. I'd like to block every remote content and remote images. I use this email privacy tester to check if I can ...
Attila Szász's user avatar
0 votes
0 answers
92 views

Dotnetbrowser JSValue

I installed dotnetbrowser and my Visual Studio 2015 with netframework 4.6.1 not working the Javascript: My header: Imports System Imports System.Runtime.InteropServices Imports System.Windows.Forms ...
MR X's user avatar
  • 1
2 votes
1 answer
402 views

DotNetBrowser Rpc Call Timed Out

We recently upgraded from the 1.x version of the DotNetBrowser control to 2.1 and during regression testing, we ran into a new exception in our Citrix environment and we are unable to display the ...
Brent Stephenson's user avatar
2 votes
1 answer
363 views

DotNetBrowser : Simulating Click

How to simulate clicking using dotnetbrowser on an element that doesn't have the "onclick" tag, only "event-action"
Fernanda Pires's user avatar
0 votes
0 answers
102 views

DotNetBrowser in ASP.net

Is it possible to to use DotNetBrowser through an ASP.net environment? I have used it in my Winforms application to load a web page behind the scenes so that I can access HTML code but I now have a ...
BigEd's user avatar
  • 1
0 votes
1 answer
69 views

DotNetBrowser Video Capture isn't working

I am newly working with DotNetBrowser. wanted to record video using the webcam. is there any way to do that using Dotnetbrwser? IMediaDevices mediaDevices = engine.MediaDevices; IEnumerable<...
Moklesur Rahman's user avatar
3 votes
1 answer
2k views

DotNetBrowser: The assembly containing the binaries was not found in any of the lookup locations

I'm trying to use DotNetBrowser, but I'm getting an error: Unable to find or restore compatible Chromium binaries. The assembly DotNetBrowser.Chromium.Win-86.dll containing the binaries was not ...
Brenda Bullorini's user avatar
5 votes
0 answers
320 views

DotNetBrowser: Switch between tabs

How to switch between current opened tab to a new tab opened after clicking on a button, using dotnetbrowser? Is it possible? I'm trying to download a PDF file from a page, that is displayed on a new ...
PamelaTabak's user avatar
1 vote
1 answer
830 views

dotNetBrowser: Creating engine causes an exception

I am trying to embed the browser into a COM object. But when I try to create an engine instance like so: _browserView = new BrowserView { Dock = DockStyle.Fill }; try { _engine = EngineFactory....
Louis's user avatar
  • 660
0 votes
1 answer
171 views

How to accessing payload data from request in DotNetBrowser

I need the payload data of the request sent. How to accessing http request payload data?
noja's user avatar
  • 82
0 votes
1 answer
227 views

dotNetBrowser: HTTP GET Response missing data

I'm using HTTP GET-Response to retrieve large JSON data. Following the document I found here: (https://dotnetbrowser-support.teamdev.com/docs/guides/gs/network.html#network-events-&-handlers), I'm ...
Louis's user avatar
  • 660
1 vote
0 answers
145 views

Chromium new version update on DotNewBrowser

we have some performance issues on chromium 69 version and it seems fixed on latest chromium version. Do you have any plan to upgrade DotNetBrowser version to latest one?
Rahmi Aksu's user avatar
0 votes
1 answer
352 views

How to Call WPF c# method from .ts file using dotnetbrowser library

Here is ref i have given for Acccount class. i want to call c# method from .ts that is from angular along with i have to send data to method. mainLayout.Children.Add((UIElement)webView....
DeCOder's user avatar
0 votes
2 answers
386 views

Get the outer HTML of a DotNetBrowser DOMElement

The DotNetBrowser DOMElement has an InnerHTML property but doesn't have an OuterHTML property. Is there a way to get the html of the entire element and its children? I thought ToString() might do it ...
jondow's user avatar
  • 634
0 votes
1 answer
185 views

Simulate Foreign Language Input in DotNetBrowser

DotNetBrowser support input simulation but I can' t find a way to do it for foreign languages. The following code works for English. Any idea how to use VirtualKeyCode with non-English characters ? //...
Heopas's user avatar
  • 69
0 votes
1 answer
306 views

DotNetBrowser check if element is visible

I am trying to implement the following JavaScript function to check if an element is visible or not. The issue is that javascript variable is null and cast AsFunction not working of course. var ...
Heopas's user avatar
  • 69
0 votes
0 answers
217 views

How to completely disable WebRTC in DotNetBrowser?

Based on DotNetBrowser documentation there is posibility to customize WebRTC settings in browser. But theres no option to disable it, only to redirect all traffic to UDP proxy, this is the code they ...
drma usama's user avatar
0 votes
1 answer
177 views

How to assign new browser instance to WinFormBorwserView

I'm Trying to create new instance of a DotNetBrowser and assign it to my panel inside windows forms. Based on DotNetBrowser start guide, to create new instance of browser (that have its own cache, etc)...
drma usama's user avatar
0 votes
1 answer
142 views

How to capture captcha image object with DotNetBrowser

The website we have shown on DotNetBrowser contains a captcha image element. What is the method of capturing this element image type in code element? Web site address: https://paydas.its.gov.tr/...
sys.io's user avatar
  • 1
1 vote
0 answers
171 views

About Cookie in DotNetBrowser

I can't understand in what format cookie.ExpirationTime is. From help articles https://dotnetbrowser.support.teamdev.com/support/solutions/articles/9000110182-working-with-cookiestorage I understood ...
Александр Чистяков's user avatar
0 votes
0 answers
334 views

How to call typescript function instead of javascript function from dotnetbrowser c# code?

I am trying to embed my angular app inside DotNetBrowser control inside a WPF application. I do not want to write javascript in my angular component and invoke the same from dot net browser c# code. ...
Rohini Singh's user avatar
-2 votes
1 answer
184 views

Use it headless and click buttons/links

I want to use dotnetbrowser headless. Load a page extract data, fill in test boxes and click a button. Get the next page and so on. Possible or not? If possible, exampes? With best regards Gerhard
Gerhard's user avatar
  • 339
0 votes
1 answer
105 views

dotnetbrowswer printing related issues

I am currently evaluating the dotnetbrowser control. One of my requirements is to print the HTML as a PDF. I am able to get the PDF to generate but it does not seems to be ignoring the print media ...
kpl-all's user avatar
0 votes
0 answers
153 views

HTML part is not getting rendered in WPF BrowserView without using waitEvent.waitOne(5000)

We are using DotNetBrowser.dll in WPF application, We have a following question: 1) HTML part is not getting rendered in WPF BrowserView without using waitEvent.waitOne(5000). We have tried to load ...
Arwinder Singh's user avatar
0 votes
1 answer
304 views

How to fix unwanted focus switching on loading a dotnetbrowser instance in a winform app

Issue I have a very complex winforms app that occasionally loads a DotNetBrowser component instance to render dynamic web content in one section of the UI. The primary navigation mechanism is a tree ...
lje's user avatar
  • 413
0 votes
1 answer
666 views

How to get Captcha image from DotNetBrowser Control c# and set to pictureBox

I am using DotNetBrowser Control in my c# desktop application. I am not able to get captcha image using this. It is easy in Webbrowser control but in DotNetBrowser I don't know how to do so in c# ...
Ashraf Almashhari's user avatar
0 votes
1 answer
203 views

DotNetBrowser is not rendering print accordingly on Chrome

I have an WebApi that needs to generate some PDF based on the data that some customer filled in and send back to him by e-mail (on a beautiful pdf form). We decided to use DotNetBrowser to do it. ...
Rodrigo Souza's user avatar
-5 votes
2 answers
1k views

DotNetBrowser is a tiny window in my form, why and how do I fix this?

This is my current code: https://hastebin.com/ifejusezat.cs This is a screenshot of what I see: https://gyazo.com/2ee9b1210649ca8ec61e3fa7e645a286 public partial class Form1 : Form { public ...
RedBox's user avatar
  • 1