in reply to Re^2: Recover Excel datas
in thread Recover Excel datas

"I am not totally agree."

Both errors you report are the same:

C:\Users\User1\Documents\TESTPERL>perl TEST.pl Error while executing command: invalid argument: 'url' must be a strin +g (Session info: chrome=70.0.3538.77) (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e +332711d2874a),platform=Windows NT 6.1.7601 SP1 x86_64) at C:/Strawber +ry/perl/site/lib/Selenium/Remot e/Driver.pm line 391. at C:/Strawberry/perl/site/lib/Selenium/Remote/Driver.pm line 348.

and

C:\Users\user1\Documents\TESTPERL>perl TEST6.pl Error while executing command: invalid argument: 'url' must be a strin +g (Session info: chrome=70.0.3538.77) (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e +332711d2874a),platform=Windows NT 6.1.7601 SP1 x86_64) at C:/Strawber +ry/perl/sit e/lib/Selenium/Remote/Driver.pm line 391. at C:/Strawberry/perl/site/lib/Selenium/Remote/Driver.pm line 348.

"Here i am just trying to retrieve a simple data ( a string like "Test") from a cell in an Excel file."

This isn't what the code you posted does. You should ask who ever wrote the code for you.

Replies are listed 'Best First'.
Re^4: Recover Excel datas
by Perlchaoui (Sexton) on Nov 14, 2018 at 14:57 UTC

    Marto

    Thanks. I finally found the issue. Indeed the output is the same but the code is a little bit different. I just forgot to delete a line in the code.

    Thanks for your feedback

        Thank you Marto :)