-1

I'm following this solution.

But I get the error

selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: cannot parse capability: goog:chromeOptions
from invalid argument: unrecognized chrome option: detach
uzumaki
  • 1,743
  • 17
  • 32

1 Answers1

4

The correct way of adding this options is

chrome_options.set_capability("detach", True)
uzumaki
  • 1,743
  • 17
  • 32