Thread Selenium::Firefox - Argument "" isn't numeric in addition (+)at .../CanStartBinary.pm line 111 (5 answers)
Opened by mika at 2016-02-06 09:42

mika
 2016-02-06 09:42
#183770 #183770
User since
2010-10-02
168 Artikel
BenutzerIn

user image
Hallo,
ich habe ein Skript das Selenium nutzt, um ein paar Seite aufzurufen und dort ein paar Dinge zu tun.

Doch seit 2 Tagen kommt ein Fehler; vorher lief es fehlerfrei einige Wochen.

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
$ perl /home/tux/.local/bin/foo.pl [...]
Argument "" isn't numeric in addition (+) at
/usr/share/perl5/Selenium/CanStartBinary.pm line 111 (#1)
(W numeric) The indicated string was fed as an argument to an operator
that expected a numeric value instead. If you're fortunate the message
will identify which operator was so unfortunate.

Uncaught exception from user code:
Argument "" isn't numeric in addition (+) at /usr/share/perl5/Selenium/CanStartBinary.pm line 111.
Selenium::CanStartBinary::_build_binary_mode(Selenium::Firefox=HASH(0x24f1958)) called at (eval 66) line 18
Selenium::CanStartBinary::binary_mode(Selenium::Firefox=HASH(0x24f1958)) called at /usr/share/perl5/Selenium/CanStartBinary.pm line 53
Selenium::CanStartBinary::__ANON__(Selenium::Firefox=HASH(0x24f1958), 1) called at (eval 64) line 522
Selenium::Firefox::new("Selenium::Firefox", "startup_timeout", 10) called at /home/tux/.local/bin/foo.pl line 48


Zeile 48 ist:
Code (perl): (dl )
1
2
3
my $driver = Selenium::Firefox->new(
    startup_timeout => $startup_timeout,
);



Jemand einen Hinweis/Lösung für mich?
Last edited: 2016-02-06 10:15:17 +0100 (CET)

View full thread Selenium::Firefox - Argument "" isn't numeric in addition (+)at .../CanStartBinary.pm line 111