0

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,370
  • 11
  • 25

1 Answers1

0

The correct way of adding this options is

chrome_options.set_capability("detach", True)
uzumaki
  • 1,370
  • 11
  • 25