Update __init__.py
removed a duplicate line in cdp command code
This commit is contained in:
parent
0aa5fbe252
commit
a8a1589040
|
@ -499,8 +499,6 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
|
|||
"Page.addScriptToEvaluateOnNewDocument",
|
||||
{
|
||||
"source": """
|
||||
|
||||
Object.defineProperty(window, "navigator", {
|
||||
Object.defineProperty(window, "navigator", {
|
||||
value: new Proxy(navigator, {
|
||||
has: (target, key) => (key === "webdriver" ? false : key in target),
|
||||
|
|
Loading…
Reference in New Issue