ronmegini / Advance-USA-Visa-Appointment

2 stars 0 forks source link

Agnostic to running environment #2

Closed ronmegini closed 2 years ago

ronmegini commented 2 years ago

Description:

Mark the running environment with env var 'CONTAINER_RUNNING'. For each kind of running environment run different main functions. Make sure to pass the appropriate chrome options to either desktop or container.

DOD:

ronmegini commented 2 years ago

The main function is split into two different functions, and the dynamic interval between iterations is added. Both desktop and container versions were tested.