Perlchaoui has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks !
I am requesting for your widsom guys. I am a beginner in Perl . This is the first time i use Perl language. I have to do some automation regarding some tests cases and i decided to use Perl because i had good feedback of using Perl in test automation. I am working with Selenium and i decided to use Selenium::Remote::Driver I think i did all the configurations as requested but i am facing an issue wen i want to run a simple script using this module.
Here is the codeand below the output when i launch my script from CMD:#!/usr/bin/perl use strict; use warnings; #use Selenium::Firefox; use Selenium::Remote::Driver; my $driver = Selenium::Remote::Driver->new; $driver->get('http://www.google.com'); use Selenium::Remote::Driver;
C:\Users\user1\Documents\TESTPERL>perl TEST1.pl Could not create new session: Unable to create new service: GeckoDrive +rService Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02 +T20:13:22.693Z' System info: host: 'LBNL13608', ip: '10.132.5.117', os.name: 'Windows +7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_191' Driver info: driver.version: unknown at TEST1.pl line 8.
I don't understand why i have to use a "geckoDriver"?!
Thanks in advance,
Br
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Simple code using Selenium::Remote::Driver
by davies (Prior) on Nov 08, 2018 at 11:23 UTC | |
by Perlchaoui (Sexton) on Nov 08, 2018 at 12:47 UTC | |
by davies (Prior) on Nov 08, 2018 at 13:25 UTC | |
by Perlchaoui (Sexton) on Nov 08, 2018 at 14:34 UTC | |
by davies (Prior) on Nov 08, 2018 at 17:32 UTC | |
| |
Re: Simple code using Selenium::Remote::Driver
by bliako (Monsignor) on Nov 08, 2018 at 16:38 UTC | |
by Perlchaoui (Sexton) on Nov 08, 2018 at 19:05 UTC | |
Re: Simple code using Selenium::Remote::Driver
by LanX (Saint) on Nov 08, 2018 at 10:46 UTC | |
by Perlchaoui (Sexton) on Nov 08, 2018 at 10:51 UTC |
Back to
Seekers of Perl Wisdom