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

Published: 12 September 2022
on channel: 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/')


On this page of the site you can watch the video online How to open & control Debugger Browser with Python Selenium || Python Selenium And Debugger Browser with a duration of hours minute second in good quality, which was uploaded by the user Coding World 12 September 2022, share the link with friends and acquaintances, this video has already been watched 2,666 times on youtube and it was liked by 34 viewers. Enjoy your viewing!