Update README.md

fix enable_cdp_event to enable_cdp_events -- typo causes script to fail.
This commit is contained in:
Matthew Waller 2021-10-01 00:04:32 -07:00 committed by GitHub
parent 1e363b18be
commit 2ba10800c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ However i implemented my own for now. Since i needed it myself for investigation
import undetected_chromedriver.v2 as uc
from pprint import pformat
driver = uc.Chrome(enable_cdp_event=True)
driver = uc.Chrome(enable_cdp_events=True)
def mylousyprintfunction(eventdata):
print(pformat(eventdata))