blib/lib/Selenium/Remote/Driver/CanSetWebdriverContext.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Selenium::Remote::Driver::CanSetWebdriverContext; | ||||||
2 | $Selenium::Remote::Driver::CanSetWebdriverContext::VERSION = '1.48'; | ||||||
3 | # ABSTRACT: Customize the webdriver context prefix for various drivers | ||||||
4 | |||||||
5 | 16 | 16 | 123447 | use strict; | |||
16 | 41 | ||||||
16 | 541 | ||||||
6 | 16 | 16 | 87 | use warnings; | |||
16 | 43 | ||||||
16 | 424 | ||||||
7 | |||||||
8 | 16 | 16 | 143 | use Moo::Role; | |||
16 | 42 | ||||||
16 | 134 | ||||||
9 | |||||||
10 | |||||||
11 | has 'wd_context_prefix' => ( | ||||||
12 | is => 'lazy', | ||||||
13 | default => sub { '/wd/hub' } | ||||||
14 | ); | ||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |