Perl Mechanize Infinite Scroll With Attempt Count

[Solved] Perl Mechanize Infinite Scroll With Attempt Count | Perl - Code Explorer | yomemimo.com
Question : perl mechanize infinite scroll with attempt count

Answered by : vternal3

while( $mech->infinite_scroll ) {
    # Tests for exiting the loop earlier
    last if $count++ >= 10;
}

Source : https://metacpan.org/pod/WWW::Mechanize::Chrome#$mech-%3Einfinite_scroll(-%5B$wait_time_in_seconds%5D-) | Last Update : Sun, 17 Oct 21

Answers related to perl mechanize infinite scroll with attempt count

Code Explorer Popular Question For Perl