CefSharp isTrusted click event? -


i'm having trouble getting cefsharp browser invoke trusted clicks in browser. initiating click event follows in js (from cefsharp) halfway there:

var e = document.createevent("mouseevents"); e.initmouseevent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null); element[0].dispatchevent(e); 

the above method still theoretically fails .istrusted event property (even though version of chromium cefsharp uses doesn't implement .istrusted)

knowing chromium implement istrusted, how can cefsharp perform trusted click on elements in browser?


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -