Error using webshot(). Page.loadEventFired problem

I'm trying to save these 2 pages using webshot2, but it fails almost every time.
I created a GH Action and it fails sometimes but not always. How can I manage it?

webshot2::webshot(c("https://www.folha.uol.com.br",
                    "https://g1.globo.com"), 
                  vwidth = 2000, file = c("folha.png","g1.png"), 
                  vheight = 2000, delay = 3, cliprect = "viewport")
#> Error: Chromote: timed out waiting for event Page.loadEventFired

sessionInfo()
#> R version 4.1.1 (2021-08-10)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 19044)
#> 
#> Matrix products: default
#> 
#> locale:
#> [1] LC_COLLATE=Portuguese_Brazil.1252  LC_CTYPE=Portuguese_Brazil.1252   
#> [3] LC_MONETARY=Portuguese_Brazil.1252 LC_NUMERIC=C                      
#> [5] LC_TIME=Portuguese_Brazil.1252    
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] webshot2_0.1.0
#> 
#> loaded via a namespace (and not attached):
#>  [1] Rcpp_1.0.9        pillar_1.7.0      compiler_4.1.1    later_1.3.0      
#>  [5] highr_0.9         R.methodsS3_1.8.1 R.utils_2.11.0    tools_4.1.1      
#>  [9] digest_0.6.29     jsonlite_1.8.0    evaluate_0.15     lifecycle_1.0.1  
#> [13] tibble_3.1.6      R.cache_0.15.0    pkgconfig_2.0.3   rlang_1.0.4      
#> [17] reprex_2.0.1      cli_3.2.0         rstudioapi_0.13   yaml_2.3.5       
#> [21] xfun_0.30         fastmap_1.1.0     withr_2.5.0       styler_1.7.0     
#> [25] stringr_1.4.0     knitr_1.38        fs_1.5.2          vctrs_0.4.0      
#> [29] websocket_1.4.1   chromote_0.1.0    glue_1.6.2        R6_2.5.1         
#> [33] processx_3.7.0    fansi_1.0.3       rmarkdown_2.13    purrr_0.3.4      
#> [37] magrittr_2.0.3    ps_1.7.1          promises_1.2.0.1  ellipsis_0.3.2   
#> [41] htmltools_0.5.2   utf8_1.2.2        stringi_1.7.6     crayon_1.5.1     
#> [45] R.oo_1.24.0

Created on 2022-07-14 by the reprex package (v2.0.1)