MCPcopy Create free account

hub / github.com/ultrafunkamsterdam/undetected-chromedriver / functions

Functions93 in github.com/ultrafunkamsterdam/undetected-chromedriver

↓ 11 callersMethodget
(self, url)
undetected_chromedriver/__init__.py:662
↓ 10 callersMethodget
(self, uri)
undetected_chromedriver/cdp.py:90
↓ 5 callersMethodchildren
returns direct child elements of current element :param tag: str, if supplied, returns <tag> nodes only
undetected_chromedriver/webelement.py:12
↓ 5 callersMethodupdate
(self, *a, **kw)
undetected_chromedriver/devtool.py:59
↓ 4 callersMethodis_binary_patched
(self, executable_path=None)
undetected_chromedriver/patcher.py:358
↓ 4 callersMethodquit
(self)
undetected_chromedriver/__init__.py:762
↓ 3 callersMethodpost
(self, uri, data: dict = None)
undetected_chromedriver/cdp.py:100
↓ 3 callersMethodrun
(self)
undetected_chromedriver/reactor.py:47
↓ 2 callersMethod_merge_nested
merges b into a leaf values in a are overwritten with values from b
undetected_chromedriver/options.py:43
↓ 2 callersMethodpatch_exe
(self)
undetected_chromedriver/patcher.py:366
↓ 2 callersMethodstart_session
(self, capabilities=None, browser_profile=None)
undetected_chromedriver/__init__.py:721
↓ 2 callersMethodtab_list
(self)
undetected_chromedriver/cdp.py:68
↓ 1 callersMethod__init__
(self, options: "ChromeOptions")
undetected_chromedriver/cdp.py:49
↓ 1 callersMethod__setattr__
(self, key, value)
undetected_chromedriver/devtool.py:53
↓ 1 callersMethod__setitem__
(self, key, value)
undetected_chromedriver/devtool.py:56
↓ 1 callersMethod_configure_headless
(self)
undetected_chromedriver/__init__.py:491
↓ 1 callersFunction_ensure_service_started
()
undetected_chromedriver/devtool.py:117
↓ 1 callersFunction_recursive_children
returns all children of <element> recursively :param element: `WebElement` object. find children below this <element> :para
undetected_chromedriver/webelement.py:67
↓ 1 callersMethod_set_platform_name
Set the platform and exe name based on the platform undetected_chromedriver is running on in order to download the correct chromedriv
undetected_chromedriver/patcher.py:104
↓ 1 callersMethod_undot_key
turn a (dotted key, value) into a proper nested dict
undetected_chromedriver/options.py:35
↓ 1 callersMethod_wait_service_started
(self)
undetected_chromedriver/reactor.py:54
↓ 1 callersMethodadd_event_handler
Parameters ---------- event_name: str example "Network.responseReceived" callback: callable
undetected_chromedriver/reactor.py:25
↓ 1 callersMethodauto
Args: executable_path: force: version_main: Returns:
undetected_chromedriver/patcher.py:122
↓ 1 callersMethodclick_safe
(self)
undetected_chromedriver/webelement.py:8
↓ 1 callersFunctioncollector
( driver: uc.Chrome, stop_event: threading.Event, on_event_coro: Optional[Callable[[Li
undetected_chromedriver/devtool.py:110
↓ 1 callersMethodfetch_package
Downloads ChromeDriver from source :return: path to downloaded file
undetected_chromedriver/patcher.py:273
↓ 1 callersMethodfetch_release_number
Gets the latest major version available, or the latest major version of self.target_version if set explicitly. :return: version strin
undetected_chromedriver/patcher.py:233
↓ 1 callersFunctionfind_chrome_executable
Finds the chrome, chrome beta, chrome canary, chromium executable Returns ------- executable_path : str the full file path
undetected_chromedriver/__init__.py:855
↓ 1 callersMethodforce_kill_instances
kills running instances. :param: executable name to kill, may be a path as well :return: True on success else False
undetected_chromedriver/patcher.py:318
↓ 1 callersFunctionfunc_called
(fn)
undetected_chromedriver/devtool.py:159
↓ 1 callersFunctionget_log_lines
(typ)
undetected_chromedriver/devtool.py:127
↓ 1 callersMethodhandle_prefs
(self, user_data_dir)
undetected_chromedriver/options.py:56
↓ 1 callersMethodlisten
(self)
undetected_chromedriver/reactor.py:66
↓ 1 callersFunctionlooper
()
undetected_chromedriver/devtool.py:131
↓ 1 callersFunctionmain
(args=None)
example/example.py:14
↓ 1 callersFunctionmain
()
example/test_workflow.py:16
↓ 1 callersMethodpatch
(self)
undetected_chromedriver/patcher.py:229
↓ 1 callersMethodreconnect
(self, timeout=0.1)
undetected_chromedriver/__init__.py:705
↓ 1 callersMethodsend
(self, method: str, params: dict)
undetected_chromedriver/cdp.py:80
↓ 1 callersFunctionstart_detached
Starts a fully independent subprocess (with no parent) :param executable: executable :param args: arguments to the executable, eg: ['--pa
undetected_chromedriver/dprocess.py:18
↓ 1 callersMethodtab_new
(self, url)
undetected_chromedriver/cdp.py:72
↓ 1 callersMethodunzip_package
Does what it says :return: path to unpacked executable
undetected_chromedriver/patcher.py:290
↓ 1 callersMethodwindow_new
(self)
undetected_chromedriver/__init__.py:681
Method__del__
(self)
undetected_chromedriver/__init__.py:836
Method__del__
(self)
undetected_chromedriver/patcher.py:402
Method__dir__
(self)
undetected_chromedriver/__init__.py:833
Method__enter__
(self)
undetected_chromedriver/__init__.py:821
Method__eq__
(self, other)
undetected_chromedriver/devtool.py:62
Method__exit__
(self, exc_type, exc_val, exc_tb)
undetected_chromedriver/__init__.py:824
Method__getattr__
(self, item)
undetected_chromedriver/devtool.py:47
Method__getattribute__
(self, item)
undetected_chromedriver/__init__.py:802
Method__getitem__
(self, item)
undetected_chromedriver/devtool.py:50
Method__hash__
(self)
undetected_chromedriver/__init__.py:830
Method__hash__
(self)
undetected_chromedriver/devtool.py:65
Method__init__
(self, parent, id_)
undetected_chromedriver/webelement.py:40
Method__init__
Creates a new instance of the chrome driver. Starts the service and then creates new instance of chrome driver. Parameters
undetected_chromedriver/__init__.py:105
Method__init__
Instantiate a new instance. :param a: :param kw:
undetected_chromedriver/devtool.py:26
Method__init__
Args: executable_path: None = automatic a full file path to the chromedriver executable
undetected_chromedriver/patcher.py:45
Method__init__
(self, driver: "Chrome")
undetected_chromedriver/reactor.py:14
Method__init__
(self, *a, **k)
undetected_chromedriver/cdp.py:15
Method__init_subclass__
(cls, **kwargs)
undetected_chromedriver/devtool.py:69
Method__repr__
(self)
undetected_chromedriver/webelement.py:60
Method__repr__
(self)
undetected_chromedriver/patcher.py:396
Method__repr__
(self)
undetected_chromedriver/cdp.py:26
Function_cleanup
()
undetected_chromedriver/dprocess.py:65
Method_ensure_close
(cls, self)
undetected_chromedriver/__init__.py:844
Method_normalize_strings
(self)
undetected_chromedriver/devtool.py:72
Function_start_detached
(executable, *args, writer: multiprocessing.Pipe = None)
undetected_chromedriver/dprocess.py:46
Methodadd_cdp_listener
(self, event_name, callback)
undetected_chromedriver/__init__.py:667
Methodattrs
(self)
undetected_chromedriver/webelement.py:45
Methodcleanup_unused_files
(self)
undetected_chromedriver/patcher.py:220
Methodclear_cdp_listeners
(self)
undetected_chromedriver/__init__.py:677
Methoddriver_binary_in_use
naive test to check if a found chromedriver binary is currently in use Args: path: a string or PathLike object t
undetected_chromedriver/patcher.py:182
Methodfind_elements_recursive
find elements in all frames this is a generator function, which is needed since if it would return a list of elements, th
undetected_chromedriver/__init__.py:727
Methodfrom_options
(cls, options)
undetected_chromedriver/options.py:82
Functionfunction_reached_timeout
()
undetected_chromedriver/devtool.py:82
Methodgen_random_cdc
()
undetected_chromedriver/patcher.py:354
Methodget_wrapped
(*args, **kwargs)
undetected_chromedriver/__init__.py:495
Methodlast_json
(self)
undetected_chromedriver/cdp.py:111
Methodnewfunc
(*args, **kwargs)
undetected_chromedriver/__init__.py:811
Functionon_event
(data)
undetected_chromedriver/devtool.py:155
Methodparse_exe_version
(self)
undetected_chromedriver/patcher.py:266
Methodrunning
(self)
undetected_chromedriver/reactor.py:44
Methodsearch_frame
(f=None)
undetected_chromedriver/__init__.py:740
Methodtab_activate
(self, id=None)
undetected_chromedriver/cdp.py:61
Methodtab_close_last_opened
(self)
undetected_chromedriver/cdp.py:75
Methodtab_new
this opens a url in a new tab. apparently, that passes all tests directly! Parameters ---------- url
undetected_chromedriver/__init__.py:686
Functiontest
()
undetected_chromedriver/devtool.py:103
Functionthreaded
(driver, stop_event, on_event_coro)
undetected_chromedriver/devtool.py:116
Functiontimeout
(seconds=3, on_timeout: Optional[Callable[[callable], Any]] = None)
undetected_chromedriver/devtool.py:78
Methoduser_data_dir
(self)
undetected_chromedriver/options.py:16
Functionwrapped
(*args, **kwargs)
undetected_chromedriver/devtool.py:81
Functionwrapper
(func)
undetected_chromedriver/devtool.py:79