MSHTML and submit form

Discussions related to Visual Prolog
User avatar
Tonton Luc
VIP Member
Posts: 500
Joined: 16 Oct 2001 23:01

MSHTML and submit form

Unread post by Tonton Luc » 18 Aug 2016 13:56

Hi,

Until a few weeks, I could submit this following form (https://contact.mercedes-benz.fr/catalo ... s/classe_a) dynamically using my VP 7.3 mshtml application, I and all was ok.
But now, it's no more possible => I suppose the site has changing because I don't see the fields in the source-code of the HTML page.

If you have a solution... :idea:

User avatar
Thomas Linder Puls
VIP Member
Posts: 1622
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls » 18 Aug 2016 19:06

The page is created dynamically by scripting code. I.e. the initial HTML mainly contains (links to) scripting code. When this code run it will update the Document Object Model (DOM) in the browser.

If you can get MSHTML to not only load the HTML, but also execute the scripts, then it should be possible for you to inspect the resulting DOM.

I will warn you that it seems that Microsoft is fading out MSHTML and the Web Browser control in favor of Internet Edge components, and it also seem that the Edge components will only be available to .net programmers.
Regards Thomas Linder Puls
PDC

User avatar
Tonton Luc
VIP Member
Posts: 500
Joined: 16 Oct 2001 23:01

Unread post by Tonton Luc » 19 Aug 2016 7:05

Hi,

Many thanks for your help Thomas.
I will tried to execute the scripts after loading the HTML page.

:wink:

Post Reply