0

This code currently used to manipulate Chrome..

option = Options()
option.add_argument("--incognito")

driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=option)

But this code makes to open a new chrome window.

What I want is to manipulate the chrome that's already open, is it possible?

Somebody say, Using Chrome in debug mode is answer, but I don't think that's a good choice.

I want to open chrome without any control.

rut
  • 79
  • 1
  • 10
  • 1
    Is this answers your question? https://stackoverflow.com/questions/8344776/can-selenium-interact-with-an-existing-browser-session – Prophet Nov 27 '22 at 09:34
  • https://stackoverflow.com/questions/47861813/how-can-i-reconnect-to-the-browser-opened-by-webdriver-with-selenium – evanstjabadi Nov 27 '22 at 09:44
  • 1
    https://stackoverflow.com/questions/8344776/can-selenium-interact-with-an-existing-browser-session – Kevin A. Nov 27 '22 at 09:45
  • @Prophet This is not well working Selenium 4... – rut Nov 27 '22 at 10:16
  • This is why I not closed the question as duplicate :) Tried to know if this is still working solution. Thank you to let me know! – Prophet Nov 27 '22 at 10:20

0 Answers0