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
In reply to Simple code using Selenium::Remote::Driver by Perlchaoui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |