Jump to content


Photo

WebBrowser component for unigui


  • Please log in to reply
11 replies to this topic

#1 Gustavo.Deo85

Gustavo.Deo85

    Newbie

  • Banned
  • Pip
  • 7 posts

Posted 20 July 2018 - 11:22 AM

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!!!


  • 0

#2 Gustavo.Deo85

Gustavo.Deo85

    Newbie

  • Banned
  • Pip
  • 7 posts

Posted 08 August 2018 - 05:00 PM

Up


  • 0

#3 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5317 posts

Posted 08 August 2018 - 05:07 PM

Hello,

 

Which edition and build are you using?


  • 0

#4 Gustavo.Deo85

Gustavo.Deo85

    Newbie

  • Banned
  • Pip
  • 7 posts

Posted 09 August 2018 - 02:13 PM

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.f...olicitacao2.asp

 

Thanks ....


  • 0

#5 Schuiab

Schuiab

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 357 posts

Posted 09 August 2018 - 02:41 PM

why are you using 1.0.0.1397 ?????


  • 0

#6 Gustavo.Deo85

Gustavo.Deo85

    Newbie

  • Banned
  • Pip
  • 7 posts

Posted 09 August 2018 - 06:59 PM

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 ???


  • 0

#7 Gustavo.Deo85

Gustavo.Deo85

    Newbie

  • Banned
  • Pip
  • 7 posts

Posted 10 August 2018 - 12:23 PM

Good Morning!!!

I just need to get the html text loaded in uniUrlFrame ... how do I get this text ???

Thank you!!!


  • 0

#8 delphidude

delphidude

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 233 posts
  • LocationNorway

Posted 10 August 2018 - 10:07 PM

Maybe you can trigger an AjaxEvent and send the result that way,

to the server, and then act on it.


  • 0

#9 Ruslan

Ruslan

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 74 posts

Posted 11 August 2018 - 12:08 AM

you can't do this. it is browser agrement to prevent XSS, you cant get access to the frame content


  • 0

#10 Gustavo.Deo85

Gustavo.Deo85

    Newbie

  • Banned
  • Pip
  • 7 posts

Posted 11 August 2018 - 09:36 PM

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 ??


  • 0

#11 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 10551 posts

Posted 12 August 2018 - 06:08 AM

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

#12 Ruslan

Ruslan

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 74 posts

Posted 12 August 2018 - 10:43 AM

But question still actual, how to get HTML from frame... 


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users