Hey Kathy,
The selenium instance is indeed not running on the Mendix cloud. This component can either be deployed on-premise or at one of the professional Selenium hosting providers like BrowserStack or SauceLab. The instance is then running in that environment.
There are several components that can influence the test run:
So that is why a test run duration is likely not the same each time.
Kind regards,
Myrthe