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