How to open & control Debugger Browser with Python Selenium || Python Selenium And Debugger Browser

Pubblicato il: 12 settembre 2022
sul canale di: Coding World
2,666
34

In this Video we can learn that How to open Chrome Browser As debugger mode.
And then control this debugger Browser with Python Selenium to various automated tasks.
here is the complete code

*Command to open Chrome Browser as debugger Browser*
chrome.exe --remote-debugging-port=9222 --user-data-dir=C:\chromedriver_win32\data

*Python Code*

from selenium import webdriver
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_experimental_option('debuggerAddress', 'localhost:9222')

browser = webdriver.Chrome(options=chrome_options,executable_path="C:\chromedriver_win32\chromedriver.exe")

print("Browser Connected")

browser.get('https://www.google.com/')


In questa pagina del sito puoi guardare il video online How to open & control Debugger Browser with Python Selenium || Python Selenium And Debugger Browser della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coding World 12 settembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,666 volte e gli è piaciuto 34 spettatori. Buona visione!