using webkit to emulate a user

  • is it possible to use webkit to fill out a form and click on a button
    within a webpage, and subsequently collect the returned page?

    this is intended to automate searches as well as updates on datasets
    that only have web access.

    thanks

    stephane
  • --- Stephane Huaulme <stephane...>
    wrote:

    > is it possible to use webkit to fill out a form and
    > click on a button
    > within a webpage, and subsequently collect the
    > returned page?
    >
    > this is intended to automate searches as well as
    > updates on datasets
    > that only have web access.

    It is possible, but it would be simpler just to make
    the appropriate GET or POST request yourself.

    Cheers,
    Chuck

    __________________________________________________
    Do You Yahoo!?
    Tired of spam?  Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
  • Am 22.10.2007 um 08:05 schrieb Charles Steinman:
    > It is possible, but it would be simpler just to make
    > the appropriate GET or POST request yourself.

      To do that, one would use one of Cocoa's NSURLxxx classes... I
    don't remember the exact name offhand, there's two, one is deprecated
    (and its header says so) and the other is the one you should be
    using. NSURLConnection and NSURLHandle, I think.

    Cheers,
    -- M. Uli Kusterer
    http://www.zathras.de
  • On Oct 22, 2007, at 4:16 AM, Uli Kusterer wrote:

    > Am 22.10.2007 um 08:05 schrieb Charles Steinman:
    >> It is possible, but it would be simpler just to make
    >> the appropriate GET or POST request yourself.
    >
    > To do that, one would use one of Cocoa's NSURLxxx classes... I don't
    > remember the exact name offhand, there's two, one is deprecated (and
    > its header says so) and the other is the one you should be using.
    > NSURLConnection and NSURLHandle, I think.

    NSURLHandle is deprecated

    NSURLConnection is supported, and probably what is appropriate.
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today