简体   繁体   中英

Refresh a web page 3 or 4 times a second using Python and Selenium Web Driver

Is there a way to refresh a web page 3 or 4 times a second using Python and Selenium Web Driver?

Thank you very much.

Super easy answer: No. The time that the refresh() function takes is machine dependent obviously. You can anyway set a max of 3-4 refreshes per second, but it's really hard that your machine can refresh a page 4 times and analyze its content in between all in a matter of a second. Maybe using Google Engine service. Either renting a super-computer or use 4 mid-level hardware. Consider it, i've used remote VMs a lot of times for testing purposes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM