NAME
SelectPdf::WebElementsClient - Get the locations of certain web elements. This is retrieved if pdf_web_elements_selectors parameter was set during the initial conversion call and elements were found to match the selectors.
METHODS
new( $apiKey, $jobId )
Construct the web elements client.
my $client = SelectPdf::WebElementsClient->new($apiKey, $jobId);
Parameters:
- $apiKey API Key. - $jobId Job ID.
getWebElements
Get the locations of certain web elements. This is retrieved if pdf_web_elements_selectors parameter is set and elements were found to match the selectors.
my $client = SelectPdf::WebElementsClient->new($apiKey, $jobId);
$elements = $client->getWebElements();
Returns:
- List of web elements locations.