Gustavo.Deo85 Posted July 20, 2018 Share Posted July 20, 2018 Good Morning...I have a deskTop application, where I use the WebBrowser component to load a website within the project. I need to do the same process in unigui ...I need to load the following command. GetElementById (WebBrowser.Document, 'g-recaptcha-response'); Any suggestion?? Thank you!!! Quote Link to comment Share on other sites More sharing options...
Gustavo.Deo85 Posted August 8, 2018 Author Share Posted August 8, 2018 Up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 8, 2018 Share Posted August 8, 2018 Hello, Which edition and build are you using? Quote Link to comment Share on other sites More sharing options...
Gustavo.Deo85 Posted August 9, 2018 Author Share Posted August 9, 2018 Hello, Which edition and build are you using? 1.0.0.1397.. I need to make a solution to the website that uses google recaptcha ... I have a VCL application that works with TWebBrowser ... WebSite... http://www.receita.fazenda.gov.br/PessoaJuridica/CNPJ/cnpjreva/cnpjreva_solicitacao2.asp Thanks .... Quote Link to comment Share on other sites More sharing options...
epos4u Posted August 9, 2018 Share Posted August 9, 2018 why are you using 1.0.0.1397 ????? Quote Link to comment Share on other sites More sharing options...
Gustavo.Deo85 Posted August 9, 2018 Author Share Posted August 9, 2018 why are you using 1.0.0.1397 ????? Because the unigui update agreement expired for the company I work for !!! Another way that would also help me, is to get the HTML string text after having validated the captcha. I loaded the site in UniRLFrame, I report rcaptcha, and after that I need to get the HTML Text of the site after the query. I tried doing this by accessing the uniRLFrame.HTML property (which returns a TString) but the return is empty. Any other suggestions ??? Quote Link to comment Share on other sites More sharing options...
Gustavo.Deo85 Posted August 10, 2018 Author Share Posted August 10, 2018 Good Morning!!!I just need to get the html text loaded in uniUrlFrame ... how do I get this text ???Thank you!!! Quote Link to comment Share on other sites More sharing options...
Ron Posted August 10, 2018 Share Posted August 10, 2018 Maybe you can trigger an AjaxEvent and send the result that way, to the server, and then act on it. Quote Link to comment Share on other sites More sharing options...
Ruslan Posted August 11, 2018 Share Posted August 11, 2018 you can't do this. it is browser agrement to prevent XSS, you cant get access to the frame content Quote Link to comment Share on other sites More sharing options...
Gustavo.Deo85 Posted August 11, 2018 Author Share Posted August 11, 2018 Maybe you can trigger an AjaxEvent and send the result that way, to the server, and then act on it. I still have difficulties with AjaxEvent ... Can you guide me ?? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 12, 2018 Administrators Share Posted August 12, 2018 Because the unigui update agreement expired for the company I work for !!! What is an "Update Agreement"? If your subscription is expired you can still use the latest version available to you. Obviously your company is using pirated copies. I need to ban you from forums. 1 Quote Link to comment Share on other sites More sharing options...
Ruslan Posted August 12, 2018 Share Posted August 12, 2018 But question still actual, how to get HTML from frame... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.