I would like to use cron to run Selenium WebDriver on time, but I would like to know if cron can be run under the following circumstances.
US>Status
The PC(mac) will be screen-locked in a certain amount of time.
Questions
1. Does the cron run even with the screen lock on?
(I found some descriptions that it doesn't work when I look into it myself, but I couldn't find a description of whether or not it can be done with a screen lock.)
2. Can WebDriver test the web even if the screen lock is on?
I don't mind answering only one question, so please let me know.
Thank you for your cooperation.
Yes.
WebDriver specifications suggest that it is possible, but it may depend greatly on the implementation of each browser, so try it with the target browser.
Personally, I recommend using some task scheduler (such as Jenkins) that can guarantee detailed assumptions such as whether or not there is a desktop session at runtime, rather than cron.
592 GDB gets version error when attempting to debug with the Presense SDK (IDE)
565 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
567 Understanding How to Configure Google API Key
868 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.