| 1 | package Selenium::InternetExplorer; | ||
| 2 | 3 | $Selenium::InternetExplorer::VERSION = '1.49'; | |
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | # ABSTRACT: A convenience package for creating a IE instance | ||
| 7 | 3 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 3 | extends 'Selenium::Remote::Driver'; | |
| 9 | |||
| 10 | |||
| 11 | has '+browser_name' => ( | ||
| 12 | is => 'ro', | ||
| 13 | 0 | ▶ | default => sub { 'internet_explorer' } |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 14 | 3 | ); | |
| 15 | |||
| 16 | has '+platform' => ( | ||
| 17 | is => 'ro', | ||
| 18 | 0 | ▶ | default => sub { 'WINDOWS' } |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 19 | 3 | ); | |
| 20 | |||
| 21 | |||
| 22 | 3 | 1; | |
| 23 | |||
| 24 | __END__ | ||
| 25 | |||
| 26 | =pod | ||
| 27 | |||
| 28 | =encoding UTF-8 | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | Selenium::InternetExplorer - A convenience package for creating a IE instance | ||
| 33 | |||
| 34 | =head1 VERSION | ||
| 35 | |||
| 36 | version 1.49 | ||
| 37 | |||
| 38 | =head1 SYNOPSIS | ||
| 39 | |||
| 40 | my $driver = Selenium::InternetExplorer->new; | ||
| 41 | # when you're done | ||
| 42 | $driver->shutdown_binary; | ||
| 43 | |||
| 44 | =head1 METHODS | ||
| 45 | |||
| 46 | =head2 shutdown_binary | ||
| 47 | |||
| 48 | Call this method instead of L<Selenium::Remote::Driver/quit> to ensure | ||
| 49 | that the binary executable is also closed, instead of simply closing | ||
| 50 | the browser itself. If the browser is still around, it will call | ||
| 51 | C<quit> for you. After that, it will try to shutdown the browser | ||
| 52 | binary by making a GET to /shutdown and on Windows, it will attempt to | ||
| 53 | do a C<taskkill> on the binary CMD window. | ||
| 54 | |||
| 55 | $self->shutdown_binary; | ||
| 56 | |||
| 57 | It doesn't take any arguments, and it doesn't return anything. | ||
| 58 | |||
| 59 | We do our best to call this when the C<$driver> option goes out of | ||
| 60 | scope, but if that happens during global destruction, there's nothing | ||
| 61 | we can do. | ||
| 62 | |||
| 63 | =head1 AUTHORS | ||
| 64 | |||
| 65 | Current Maintainers: | ||
| 66 | |||
| 67 | =over 4 | ||
| 68 | |||
| 69 | =item * | ||
| 70 | |||
| 71 | George S. Baugh <george@troglodyne.net> | ||
| 72 | |||
| 73 | =back | ||
| 74 | |||
| 75 | Previous maintainers: | ||
| 76 | |||
| 77 | =over 4 | ||
| 78 | |||
| 79 | =item * | ||
| 80 | |||
| 81 | Daniel Gempesaw <gempesaw@gmail.com> | ||
| 82 | |||
| 83 | =item * | ||
| 84 | |||
| 85 | Emmanuel Peroumalnaïk <peroumalnaik.emmanuel@gmail.com> | ||
| 86 | |||
| 87 | =item * | ||
| 88 | |||
| 89 | Luke Closs <cpan@5thplane.com> | ||
| 90 | |||
| 91 | =item * | ||
| 92 | |||
| 93 | Mark Stosberg <mark@stosberg.com> | ||
| 94 | |||
| 95 | =back | ||
| 96 | |||
| 97 | Original authors: | ||
| 98 | |||
| 99 | =over 4 | ||
| 100 | |||
| 101 | =item * | ||
| 102 | |||
| 103 | Aditya Ivaturi <ivaturi@gmail.com> | ||
| 104 | |||
| 105 | =back | ||
| 106 | |||
| 107 | =head1 COPYRIGHT AND LICENSE | ||
| 108 | |||
| 109 | Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child | ||
| 110 | |||
| 111 | Copyright (c) 2014-2017 Daniel Gempesaw | ||
| 112 | |||
| 113 | Copyright (c) 2018-2021 George S. Baugh | ||
| 114 | |||
| 115 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 116 | you may not use this file except in compliance with the License. | ||
| 117 | You may obtain a copy of the License at | ||
| 118 | |||
| 119 | http://www.apache.org/licenses/LICENSE-2.0 | ||
| 120 | |||
| 121 | Unless required by applicable law or agreed to in writing, software | ||
| 122 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 123 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 124 | See the License for the specific language governing permissions and | ||
| 125 | limitations under the License. | ||
| 126 | |||
| 127 | =cut | ||