SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 1999
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Browser.GetCaption ( ) - is it working correctly?

    When I run this code, Silk returns the caption of the page where it did the Click () instead of the page that it loads. Has anybody else seen this? Sometimes it even returns the URL that it is trying to load as the caption.



    [This message has been edited by sampath (edited 11-10-1999).]

  2. #2
    Member
    Join Date
    Jul 1999
    Location
    Raleigh- North Carolina
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser.GetCaption ( ) - is it working correctly?

    Instead of :

    Browser.GetCaption ()

    use:

    BrowserPage.GetCaption ()

    Ive seen it before, and I dont why but the Browser functions seem to be async....
    They dont respect the:

    Agent.SetOption (OPT_VERIFY_ACTIVE, TRUE)

    So they just perform their task without any waiting.

    Anybody knows why ??

    Mauro

  3. #3
    Junior Member
    Join Date
    Aug 1999
    Location
    Boston, MA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Browser.GetCaption ( ) - is it working correctly?

    Take a look at the Browser.WaitForReady() method ... You may want to put it between the Link.Click() and the Browser.GetCaption()


    ------------------
    John McGrail
    John McGrail

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 06:04 AM.

Copyright BetaSoft Inc.