-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
12 changed files
with
174 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
use strict; | ||
use warnings; | ||
|
||
use Test::Selenium::Firefox; | ||
use Test::More tests => 3; | ||
use Test::Fatal; | ||
|
||
my $driver; | ||
is( exception { $driver = Test::Selenium::Firefox->new( | ||
extra_capabilities => { | ||
'moz:firefoxOptions' => { | ||
args => [ '-headless' ], | ||
}, | ||
}, | ||
); }, undef, "can spawn new Selenium::Firefox"); | ||
|
||
$driver->get('http://google.com'); | ||
|
||
TODO: { | ||
local $TODO = "This test must fail"; | ||
$driver->click_ok('not_here','css',"click on non-existant element doesn't croak"); | ||
}; | ||
|
||
|
||
is( exception { $driver->shutdown_binary; }, undef, "can shutdown binary correctly"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name = Selenium-Remote-Driver | ||
version = 1.28 | ||
version = 1.29 | ||
author = George S. Baugh <[email protected]> | ||
author = Aditya Ivaturi <[email protected]> | ||
author = Daniel Gempesaw <[email protected]> | ||
|
@@ -8,7 +8,7 @@ author = Luke Closs <[email protected]> | |
author = Mark Stosberg <[email protected]> | ||
license = Apache_2_0 | ||
copyright_holder = George S. Baugh | ||
copyright_year = 2017 | ||
copyright_year = 2018 | ||
|
||
[GatherDir] | ||
include_dotfiles = 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package Test::Selenium::Edge; | ||
|
||
use Moo; | ||
extends 'Selenium::Edge', 'Test::Selenium::Remote::Driver'; | ||
|
||
has 'webelement_class' => ( | ||
is => 'rw', | ||
default => sub {'Test::Selenium::Remote::WebElement'}, | ||
); | ||
|
||
1; | ||
|
||
__END__ | ||
=head1 NAME | ||
Test::Selenium::Edge | ||
=head1 SYNOPSIS | ||
my $test_driver = Test::Selenium::Edge->new; | ||
$test_driver->get_ok('https://duckduckgo.com', "MS Edge can load page"); | ||
$test_driver->quit(); | ||
=head1 DESCRIPTION | ||
A subclass of L<Selenium::Edge> which provides useful testing functions. Please see L<Selenium::Edge> and L<Test::Selenium::Remote::Driver> for usage information. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters