().
use overload fallback => 1, '&{}' => sub { $_[0][4] };
use Carp 1.25 ();
use HTTP::Tiny;
use JSON::PP ();
use WebDriver::Tiny::Elements;
our @CARP_NOT = 'WebDriver::Tiny::Elements';
sub import
= $reply->{capabilities};
# Numify bool objects, saves memory.
$_ += 0 for grep ref eq 'JSON::PP::Boolean', values $self->[3]->%*;
# See the overloading at the top of the file for detai
hod,
$self->[1] . $path,
{ content => JSON::PP::encode_json( $args // {} ) },
);
my $value = eval { JSON::PP::decode_json( $reply->{content} )->{value} };
unless ( $reply