<div dir="ltr">thank you Michael! it works :)</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-05 5:31 GMT+02:00 michael h <span dir="ltr"><<a href="mailto:michaelkenth@gmail.com" target="_blank">michaelkenth@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div class="">On Fri, Apr 4, 2014 at 5:40 AM, Peter Irbizon <span dir="ltr"><<a href="mailto:peterirbizon@gmail.com" target="_blank">peterirbizon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Michael, <div><br></div><div>thank you! Could you please let me know small example where should I initiate Florian's suggestion in my example code? (I am not very experienced user with this) </div>
<div><br></div></div></blockquote><div><br></div></div><div>Use either:</div><div>self.page().mainFrame().javaScriptWindowObjectCleared.connect(someMethodToEvalJS)</div><div>or</div><div>self.view.page().mainFrame().javaScriptWindowObjectCleared.connect(someMethodToEvalJS)<br>
</div><div><br></div><div>Also, according to the docs, you should use the same signal for calling <span style="font-family:arial,sans-serif;font-size:13px">addToJavaScriptWindowObject if you want any added objects to be accessible beyond the first page load.</span></div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>- MH</div></font></span></div></div></div>
</blockquote></div><br></div>