August 1, 2012

l3e0wulf l3e0wulf
Hobby Entomologist
123 posts

Webkit automatic

 

Hello, I’m wanting to make the webkit create accounts on one site, or automatically fill out forms, send and retrieve the result that appears on an element (h1). The result that appears in the element (h1) is just a text indicating whether it was possible to create the account or not.

Thank you.

 Signature 

—0x00

1 reply

August 1, 2012

DamianMilo DamianMilo
Lab Rat
14 posts

If i clearly understand you, you want to fill element in html code by c++ source code?
If yes, you can ,to that by EvaluateJavaScript in qwebview, for example if you have element which id is macid and function which return value , which you fill this element name getMacAdres() you can do this evaluateJavaScript(“macid.value=’“WebApi.getMacAddress()”’”)

 Signature 

Regards,
Damian Czechowicz
Junior Software Engineer

Milo Solutions
http://milosolutions.com

 
  ‹‹ QWebView::findText plus Unicode’s Combining Diacritical Marks      Accessing QObjects from javascript using Qt5 - SOLVED ››

You must log in to post a reply. Not a member yet? Register here!