| 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.50'; | ||||||
| 3 | # ABSTRACT: Customize the webdriver context prefix for various drivers | ||||||
| 4 | |||||||
| 5 | 31 | 31 | 916493 | use strict; | |||
| 31 | 77 | ||||||
| 31 | 1285 | ||||||
| 6 | 31 | 31 | 217 | use warnings; | |||
| 31 | 82 | ||||||
| 31 | 1753 | ||||||
| 7 | |||||||
| 8 | 31 | 31 | 512 | use Moo::Role; | |||
| 31 | 11425 | ||||||
| 31 | 233 | ||||||
| 9 | |||||||
| 10 | |||||||
| 11 | has 'wd_context_prefix' => ( | ||||||
| 12 | is => 'lazy', | ||||||
| 13 | default => sub { '/wd/hub' } | ||||||
| 14 | ); | ||||||
| 15 | |||||||
| 16 | 1; | ||||||
| 17 | |||||||
| 18 | __END__ |