NAME
Chrome::DevToolsProtocol - asynchronous dispatcher for the DevTools protocol
$chrome->json_get
$chrome->send_packet
$chrome->send_packet('Page.handleJavaScriptDialog',
accept => JSON::true,
);
Sends a JSON packet to the remote end
$chrome->send_message
my $future = $chrome->send_message('DOM.querySelectorAll',
selector => 'p',
nodeId => $node,
);
my $nodes = $future->get;
This function expects a response. The future will not be resolved until Chrome has sent a response to this query.
$chrome->callFunctionOn
$chrome->evaluate
$chrome->eval
$chrome->version_info
print $chrome->version_info->get->{"Protocol-Version"};
$chrome->protocol_version
print $chrome->protocol_version->get;
$chrome->get_domains
$chrome->list_tabs
my @tabs = $chrome->list_tabs->get();
$chrome->new_tab
my $new_tab = $chrome->new_tab('https://www.google.com')->get;
$chrome->activate_tab
$chrome->close_tab
SEE ALSO
The inofficial Chrome debugger API documentation at https://github.com/buggerjs/bugger-daemon/blob/master/README.md#api
Chrome DevTools at https://chromedevtools.github.io/devtools-protocol/1-2
REPOSITORY
The public repository of this module is https://github.com/Corion/www-mechanize-chrome.
SUPPORT
The public support forum of this module is https://perlmonks.org/.
BUG TRACKER
Please report bugs in this module via the RT CPAN bug queue at https://rt.cpan.org/Public/Dist/Display.html?Name=WWW-Mechanize-Chrome or via mail to www-mechanize-Chrome-Bugs@rt.cpan.org.
AUTHOR
Max Maischein corion@cpan.org
COPYRIGHT (c)
Copyright 2010-2018 by Max Maischein corion@cpan.org
.
LICENSE
This module is released under the same terms as Perl itself.