Changes for version 0.11
- Support ->reload on Chrome v66+ by adding --disable-prompt-on-repost This globally disables the prompting on repost for the process. If you need to test for these prompts, add disable_prompt_on_repost => 0 to the options for the WWW::Mechanize::Chrome object. To my knowledge, there is no way to programmatically find whether Chrome is prompting for a repost or not. See also https://bugs.chromium.org/p/chromium/issues/detail?id=804371
- Support ->getRequestPostData() to retrieve the data when sending a POST request
- Support ->searchInResponseBody() to search in a response body without retrieving the body to Perl space. This doesn't work reliably in my experience, as Chrome seems to forget response bodies rather quickly.
- outerHTML is now a gettable property
- The User-Agent string can be set in the constructor
- Fixes for Chrome v67 when retrieving file:// resources These fixes might have unwanted side-effects for other versions of Chrome and other protocols, but the test suite doesn't show any of them. If this change breaks your workflow, please submit a (failing) test case.
- . Tested against Chromium 59.0.3071.115 / Win64 (some tests skipped) . Tested against Chromium 60.0.3110.0 / Win64 (some tests skipped) . Tested against Chromium 61.0.3141.0 / Win64 (some tests skipped) . Tested against Chromium 62.0.3202.94 / Win64 (some tests skipped) . Tested against Chromium 63.0.3239.132 / Win64 . Tested against Chromium 64.0.3282.119 / Win64 (some tests skipped) . Tested against Chromium 65.0.3325.181 / Win64 (some tests skipped) . Tested against Chromium 66.0.3346.0 / Win64 (some tests skipped) . Tested against Chromium 67.0.3394.0 / Win64 (some tests skipped) . Tested against Chromium 65.0.3325.181 Built on Ubuntu, thanks Travis CI
Documentation
runs the test suite versions of Chrome and with different backends
Modules
choose the best transport backend
IO::Async backend
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
Provides
in lib/Chrome/DevToolsProtocol.pm
in lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm
in lib/Chrome/DevToolsProtocol/Transport/Mojo.pm