IEC Controller and <head> element

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Danny Scaleno

    #1

    IEC Controller and <head> element

    Hello,

    using IEC Controller,
    anybody knows how to capture the head part of an html page like this one?

    <html>
    <head>
    <script language='javas cript'>
    Object=window.o pen('test.html' ,'test1','name= "test1"');
    Object.focus()
    </script>
    <head>
    <body></body>
    </html>

    it seems IEC is able to capture only the <bodypart.
    I need to parse the string inside the tag <script>

    Actually, IEC return the ie.Document object, but
    how do I know which methods and properties are available for it ?


    Thank you
    Danny
  • Danny Scaleno

    #2
    Re: IEC Controller and &lt;head&gt; element

    Maybe this help someone else.
    The solution comes with old VB6. It's "COM Land" so
    introspecting the VB WebBrowser Control object I found properties and
    methods to correctly access all parts of the python IEC.Document object
    returned by the IEC Controller



    Great library !
    Danny
    using IEC Controller,
    anybody knows how to capture the head part of an html page like this one?
    >
    <html>
    <head>
    <script language='javas cript'>
    Object=window.o pen('test.html' ,'test1','name= "test1"');
    Object.focus()
    </script>
    <head>
    <body></body>
    </html>
    it seems IEC is able to capture only the <bodypart.
    I need to parse the string inside the tag <script>
    Actually, IEC return the ie.Document object, but
    how do I know which methods and properties are available for it ?

    Comment

    Working...