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!!! Link to comment Share on other sites More sharing options...
Gustavo.Deo85 Posted August 8, 2018 Author Share Posted August 8, 2018 Up 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? 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 .... 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 ????? 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 ??? 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!!! 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. 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 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 ?? 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 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... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now