The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

TaskPipe::UserAgentManager::UserAgentHandler_PhantomJS::Settings

DESCRIPTION

Settings for the PhantomJS useragent handler

METHODS

process_name

The name to call the PhantomJS process on the database

base_port

Allocate ports from this port number upwards

proxy_schemes

How to convert a proxy scheme (as used by LWP) to a proxy 'type' (as used by PhantomJS)

page_load_wait_time

PhantomJS does wait for the general page to load, but doesn't seem to wait for ajax requests to return. This can be problematic. A crude solution is to wait a fixed length of time upon page load. Set this option to do that. However, using the poll_for method is a preferable solution where possible. (See the docs for TaskPipe::Task_Scrape

poll_for_interval

When using poll_for, this is the period between checking if the element is present (in milliseconds)

poll_for_timeout

When using poll_for this is the maximum length of time to poll for before giving up

debug

If set to 1, messages from PhantomJS will be echoed to the terminal

AUTHOR

Tom Gracey <tomgracey@gmail.com>

COPYRIGHT AND LICENSE

Copyright (c) Tom Gracey 2018

TaskPipe is free software, licensed under

    The GNU Public License Version 3