AnyEvent-WebDriver

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

        - make "verboser" action example actually more verbose.
	- doc fixes.

0.5 Wed Aug 29 07:54:58 CEST 2018
	- add api stability warning to docs.
	- document ->key method for action lists.
        - implement special key names for ->key method in action lists.
        - implement the ->type convenience function mentioned in the docs.
        - implement some (hopefully) useful locator strategy aliases.
        - implement ->set_sessionm ->save_session, ->load_session method.
	- make JSON::XS optional and require JSON::PP as fallback.
        - fix ->switch_to_window method.
        - fix AUTOLOAD to report the actual method name in case an unknown
          method was called.
        - doc fixes.

0.2 Wed Aug 29 04:17:20 CEST 2018
	- 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.

META.json  view on Meta::CPAN

         }
      },
      "configure" : {
         "requires" : {
            "Canary::Stability" : "2012",
            "ExtUtils::MakeMaker" : "6.52"
         }
      },
      "runtime" : {
         "recommends" : {
            "JSON::XS" : "3.04"
         },
         "requires" : {
            "AnyEvent" : "5.33",
            "AnyEvent::HTTP" : "2.22",
            "JSON::PP" : "2.273",
            "common::sense" : "3.74"
         }
      }
   },
   "release_status" : "stable",

META.yml  view on Meta::CPAN

license: unknown
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: AnyEvent-WebDriver
no_index:
  directory:
    - t
    - inc
recommends:
  JSON::XS: '3.04'
requires:
  AnyEvent: '5.33'
  AnyEvent::HTTP: '2.22'
  JSON::PP: '2.273'
  common::sense: '3.74'
version: '1.2'

Makefile.PL  view on Meta::CPAN

    VERSION_FROM => "WebDriver.pm",
    CONFIGURE_REQUIRES => { "ExtUtils::MakeMaker" => 6.52, "Canary::Stability" => 2012 },
    PREREQ_PM    => {
       common::sense  => 3.74,
       JSON::PP       => 2.273,
       AnyEvent       => 5.33,
       AnyEvent::HTTP => 2.22,
    },
    META_MERGE => {
       recommends => {
           JSON::XS => 3.04,
       },
    },
});

$mm->flush;

WebDriver.pm  view on Meta::CPAN

use Carp ();
use AnyEvent ();
use AnyEvent::HTTP ();

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)
}



( run in 0.488 second using v1.01-cache-2.11-cpan-4d50c553e7e )