Depending from you needs... Easiest and powerful way is just execute javascript. If you not need return value - EvaluateJavaScript functiin can help. If you need ret val - send message to denderer and use CefV8Context.Eval to execute scripts (in renderer process).
Dear Dmitry:I am using xilium.cefglue in windows forms application, I have a scenario like after the url has been loaded I have to get the element by tag name or by Id can you please suggest me how can I achieve this.
--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Dmitry,
yes I need to get the return value to the c# code and I need to further process with that .. even I have tried with cefdomvisitor but no luck with that can you please provide code sample link to return the value
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "CefGlue" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cefglue/zogeDk9c-qo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cefglue+unsubscribe@googlegroups.com.
Hi Dmitry,
yes I need to get the return value to the c# code and I need to further process with that .. even I have tried with cefdomvisitor but no luck with that can you please provide code sample link to return the value
CefDomVisitor has strong limitations and hard to use. Sorry, i no have time now. I'm described how to do it in short. Good starting point is https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration.md and other wiki articles. It is actually very easy to do.
1. Assign unique request id
2. Send process message to renderer with js
3. In renderer handle message, execute js from message and send reply message to browser process with request id and result
4. Handle reply message in browser process. By using request id you can pass this result to caller. In async/await style code is usually done with TaskCompletionSource while caller await for result.
Look at API and play with it, and choose best suitable way for you.
Hi Dmitry,
yes I need to get the return value to the c# code and I need to further process with that .. even I have tried with cefdomvisitor but no luck with that can you please provide code sample link to return the value
On 11 Aug 2016 10:27 pm, wrote:
Hi Dmitry,
yes I need to get the return value to the c# code and I need to further process with that .. even I have tried with cefdomvisitor but no luck with that can you please provide code sample link to return the value
On 11 Aug 2016 6:31 pm, "Dmitry Azaraev" <dmitry....@gmail.com> wrote:
Depending from you needs... Easiest and powerful way is just execute javascript. If you not need return value - EvaluateJavaScript functiin can help. If you need ret val - send message to denderer and use CefV8Context.Eval to execute scripts (in renderer process).
On Thu, Aug 11, 2016, 12:19 Sai Prasad <sega.sa...@gmail.com> wrote:
Dear Dmitry:I am using xilium.cefglue in windows forms application, I have a scenario like after the url has been loaded I have to get the element by tag name or by Id can you please suggest me how can I achieve this.
--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "CefGlue" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cefglue/zogeDk9c-qo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.