Changes for version 0.48 - 2020-04-19
- API CHANGES:
- ->field() now takes the form field index as third parameter, like WWW::Mechanize does. It warns about the old usage and corrects it for the time being. Change ->field( name => 'John Bull', [], [] ) to ->field( name => 'John Bull', undef, [], [] ) for operating as it did before and silencing the warning.
- ->field() now checks its parameter count and wants a field name and a value to set the field to. Use ->value() to query the value of a field without setting it. This change to your scripts is mandatory because ->field() now uses a parameter declaration.
- ->value() now takes the index as its second parameter, instead of taking a new value as its second parameter. The old form was deprecated a long time ago.
- ->set_fields() now can set the value of fields with the same name ->set_fields( foo => ['new_value', 2] ) now works.
- Stability fixes/warning elimination in ->handle_dialog() and ->_handle_screencast_frame() The methods used their hand-rolled handling of "fire-and-forget" Futures instead of using Future->retain()
- Temporarily add Data::Dump as test prerequisite. This seems to be an action that will prevent test failures on Travis: https://rt.cpan.org/Public/Bug/Display.html?id=132378
Documentation
Modules
asynchronous dispatcher for the DevTools protocol
wrapper for talking to a page in a Target
choose the best transport backend
AnyEvent backend for Chrome communication
Mojolicious backend for Chrome communication
IO::Async backend for Chrome communication
choose the best pipe transport backend
EXPERIMENTAL Local pipe backend for Chrome communication
EXPERIMENTAL Local pipe backend for Chrome communication
retrieve cookies from a live Chrome instance
automate the Chrome browser
Getting things done with WWW::Mechanize::Chrome
Domain Specific Language for short scripts
WWW::Mechanize::Chrome example programs.
represent a Chrome HTML node in Perl
Things to watch out for
blacklist URLs from fetching
Provides
in lib/StructDumbDebug.pm
in lib/Chrome/DevToolsProtocol/Transport/Win32PipeOpener.pm