NAME
Selenium::Remote::RemoteConnection - Connect to a selenium server
VERSION
version 1.24
SYNOPSIS
my $driver = Selenium::Remote::Driver->new();
eval { $driver->remote_conn->check_status() };
die "do something to kick the server" if $@;
DESCRIPTION
You shouldn't really need to use this module unless debugging or checking connections when testing dangerous things.
CONSTRUCTOR
new(%parameters)
Accepts 5 parameters:
- remote_server_addr - address of selenium server
- port - port of selenium server
- ua - Useful to override with Test::LWP::UserAgent in unit tests
- debug - Should be self-explanatory
- error_handler - Defaults to Selenium::Remote::ErrorHandler.
These can be set any time later by getter/setters with the same name.
METHODS
check_status
Croaks unless the selenium server is responsive. Sometimes is useful to call in-between tests (the server CAN die on you...)
request
Make a request of the Selenium server. Mostly useful for debugging things going wrong with Selenium::Remote::Driver when not in normal operation.
SEE ALSO
Please see those modules/websites for more information related to this module.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/teodesian/Selenium-Remote-Driver/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHORS
Current Maintainers:
Daniel Gempesaw <gempesaw@gmail.com>
Emmanuel Peroumalnaïk <peroumalnaik.emmanuel@gmail.com>
Previous maintainers:
Luke Closs <cpan@5thplane.com>
Mark Stosberg <mark@stosberg.com>
Original authors:
Aditya Ivaturi <ivaturi@gmail.com>
COPYRIGHT AND LICENSE
Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
Copyright (c) 2014-2017 Daniel Gempesaw
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.