2

I looked up how can I run silently selenium: found the next great answer here

I am trying to let selenium run regular until some action is completed and then run it in the background.

Is it possible?

thanx in advanced Oz

Oz Cohen
  • 721
  • 1
  • 6
  • 10

1 Answers1

3

No, you can not change actively running Selenium WebDriver session from normal to headless and vice versa.
In the similar manner you will not be able to re-define default downloading folder, no-sandbox, disable-dev-shm-usage etc.
All these parameters are loaded during the WebDriver object creating and can not be changed for existing, running WebDriver instance.

Prophet
  • 21,440
  • 13
  • 47
  • 64