| 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.49'; | ||||||
| 3 | # ABSTRACT: Customize the webdriver context prefix for various drivers | ||||||
| 4 | |||||||
| 5 | 16 | 16 | 122072 | use strict; | |||
| 16 | 40 | ||||||
| 16 | 562 | ||||||
| 6 | 16 | 16 | 115 | use warnings; | |||
| 16 | 48 | ||||||
| 16 | 456 | ||||||
| 7 | |||||||
| 8 | 16 | 16 | 125 | use Moo::Role; | |||
| 16 | 39 | ||||||
| 16 | 131 | ||||||
| 9 | |||||||
| 10 | |||||||
| 11 | has 'wd_context_prefix' => ( | ||||||
| 12 | is => 'lazy', | ||||||
| 13 | default => sub { '/wd/hub' } | ||||||
| 14 | ); | ||||||
| 15 | |||||||
| 16 | 1; | ||||||
| 17 | |||||||
| 18 | __END__ |