Chrome DevTools Protocol in Python

Using this and PyChrome, you can read network requests in Selenium.

It might not sound like it, but this is actually really cool. Why would you want to read network requests tho? You can use them to find endpoints.

Use this:

import pychrome
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument("user-data-dir=/Users/davidshivaji/Library/Application Support/Google/Chrome/Profile 7")…

--

--

--

mostly python + react content

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Docker Steps for Kubernetes (K8s#2)

DICTIONARY EXTENSION!📖🔍

Web Accessibility for New Devs

a graphic depicting a hand, eye, ear, and brain indicating various types of disabilities

Let’s Create a Summary Extension for Browsers — Part 2

Top 7 Courses to begin a Lucrative Career in Information Security

For Loops For Forever

Google Sheets Swiss Army Knife

A Guide to Testing in Production

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
David Shivaji

David Shivaji

mostly python + react content

More from Medium

Series of Mastering Python : Tutorial How to Install Python and IDE Pycharm

Brief Overview of Python Mobile App Development

Using APIs with python

Building GUI with Tkinter