Update README.md
fix enable_cdp_event to enable_cdp_events -- typo causes script to fail.
This commit is contained in:
parent
1e363b18be
commit
2ba10800c7
|
@ -76,7 +76,7 @@ However i implemented my own for now. Since i needed it myself for investigation
|
||||||
import undetected_chromedriver.v2 as uc
|
import undetected_chromedriver.v2 as uc
|
||||||
from pprint import pformat
|
from pprint import pformat
|
||||||
|
|
||||||
driver = uc.Chrome(enable_cdp_event=True)
|
driver = uc.Chrome(enable_cdp_events=True)
|
||||||
|
|
||||||
def mylousyprintfunction(eventdata):
|
def mylousyprintfunction(eventdata):
|
||||||
print(pformat(eventdata))
|
print(pformat(eventdata))
|
||||||
|
|
Loading…
Reference in New Issue