AnyEvent-WebDriver
view release on metacpan or search on metacpan
- implement a helper API to make it easier to build action lists.
- drop the concept of element IDs and use the element object everywhere.
- minor fixes.
- the webdriver rec has actually been published by now.
0.1 Wed Aug 29 01:31:22 CEST 2018
- implement request timeout, document future plans
for timeouts.
- documentation fixes.
- JSON::XS wasn't marked as dependency.
- only call boolean_values if JSON::XS actually supports it.
- fix some "$wdf"'s that have snaked in.
0 Wed Aug 29 00:55:44 CEST 2018
- original version, mostly from scratch.
WebDriver.pm view on Meta::CPAN
our $VERSION = '1.2';
our $WEB_ELEMENT_IDENTIFIER = "element-6066-11e4-a52e-4f735466cecf";
our $WEB_WINDOW_IDENTIFIER = "window-fcc6-11e5-b4f8-330a88ab9d7f";
our $WEB_FRAME_IDENTIFIER = "frame-075b-4da1-b6ba-e579c2d3230a";
my $json = eval { require JSON::XS; JSON::XS:: } || do { require JSON::PP; JSON::PP:: };
$json = $json->new->utf8;
$json->boolean_values (0, 1)
if $json->can ("boolean_values");
sub _decode_base64 {
require MIME::Base64;
MIME::Base64::decode_base64 (shift)
}
sub req_ {
my ($self, $method, $ep, $body, $cb) = @_;
( run in 0.381 second using v1.01-cache-2.11-cpan-9ff20fc0ed8 )