in reply to Simple code using Selenium::Remote::Driver

Driver info: driver.version: unknown at TEST.pl line 9.

Is the webdriver found at all? It looks like it is not. Or if it is found on disk, then some binary incompatibility may stop it from reading in even its version.

In this link : https://github.com/SeleniumHQ/selenium/issues/5876 there is a one-liner to launch selenium and chrome via java. Try it but most likely it fails too.

Replies are listed 'Best First'.
Re^2: Simple code using Selenium::Remote::Driver
by Perlchaoui (Sexton) on Nov 08, 2018 at 19:05 UTC

    Thanks Bliako

    Exactly. The issue was coming from the webdriver itself

    I had to use chromedriver in conjunction with Selenium server, with the following command:

    java -Dwebdriver.chrome.driver=path -jar selenium-server-standalone-2. +33.0.jar

    That's why my code wasn't running

    Again, thank you for the support