Skip to content

Commit

Permalink
Increase number of lines we wait for devtools output
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maischein committed Nov 21, 2023
1 parent 5479a44 commit 99bc081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WWW/Mechanize/Chrome.pm
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,8 @@ sub spawn_child( $self, $method, @cmd ) {
return ($pid,$to_chrome,$from_chrome, $chrome_stdout)
}

sub read_devtools_url( $self, $fh, $lines = 10 ) {
# We expect the output within the first 10 lines...
sub read_devtools_url( $self, $fh, $lines = 50 ) {
# We expect the output within the first 50 lines...
my $devtools_url;

while( $lines-- and ! defined $devtools_url and ! eof($fh)) {
Expand Down

0 comments on commit 99bc081

Please sign in to comment.