Selenium/Remote/Driver/CanSetWebdriverContext.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 17 / 17 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Selenium/InternetExplorer.pm ↑ Summary Selenium/Remote/Driver/Firefox/Profile.pm »
1 package Selenium::Remote::Driver::CanSetWebdriverContext;
2 31 $Selenium::Remote::Driver::CanSetWebdriverContext::VERSION = '1.49';
3 # ABSTRACT: Customize the webdriver context prefix for various drivers
4  
5 31 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 31 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 31 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10  
11 has 'wd_context_prefix' => (
12 is => 'lazy',
13 12 ▶ default => sub { '/wd/hub' }
Subroutine __ANON__: called CC=1 SCAR=0.0
14 31 );
15  
16 31 1;
17  
18 __END__
19  
20 =pod
21  
22 =encoding UTF-8
23  
24 =head1 NAME
25  
26 Selenium::Remote::Driver::CanSetWebdriverContext - Customize the webdriver context prefix for various drivers
27  
28 =head1 VERSION
29  
30 version 1.49
31  
32 =head1 DESCRIPTION
33  
34 Some drivers don't use the typical C</wd/hub> context prefix for the
35 webdriver HTTP communication. For example, the newer versions of the
36 Firefox driver extension use the context C</hub> instead. This role
37 just has the one attribute with a default webdriver context prefix,
38 and is consumed in L<Selenium::Remote::Driver> and
39 L<Selenium::Remote::RemoteConnection>.
40  
41 If you're new to webdriver, you probably want to head over to
42 L<Selenium::Remote::Driver>'s docs; this package is more of an
43 internal-facing concern.
44  
45 =head1 AUTHORS
46  
47 Current Maintainers:
48  
49 =over 4
50  
51 =item *
52  
53 George S. Baugh <george@troglodyne.net>
54  
55 =back
56  
57 Previous maintainers:
58  
59 =over 4
60  
61 =item *
62  
63 Daniel Gempesaw <gempesaw@gmail.com>
64  
65 =item *
66  
67 Emmanuel Peroumalnaïk <peroumalnaik.emmanuel@gmail.com>
68  
69 =item *
70  
71 Luke Closs <cpan@5thplane.com>
72  
73 =item *
74  
75 Mark Stosberg <mark@stosberg.com>
76  
77 =back
78  
79 Original authors:
80  
81 =over 4
82  
83 =item *
84  
85 Aditya Ivaturi <ivaturi@gmail.com>
86  
87 =back
88  
89 =head1 COPYRIGHT AND LICENSE
90  
91 Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
92  
93 Copyright (c) 2014-2017 Daniel Gempesaw
94  
95 Copyright (c) 2018-2021 George S. Baugh
96  
97 Licensed under the Apache License, Version 2.0 (the "License");
98 you may not use this file except in compliance with the License.
99 You may obtain a copy of the License at
100  
101 http://www.apache.org/licenses/LICENSE-2.0
102  
103 Unless required by applicable law or agreed to in writing, software
104 distributed under the License is distributed on an "AS IS" BASIS,
105 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
106 See the License for the specific language governing permissions and
107 limitations under the License.
108  
109 =cut
« Selenium/InternetExplorer.pm ↑ Summary Selenium/Remote/Driver/Firefox/Profile.pm »