Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ultrafunkamsterdam/undetected-chromedriver
/ functions
Functions
93 in github.com/ultrafunkamsterdam/undetected-chromedriver
⨍
Functions
93
◇
Types & classes
10
↓ 11 callers
Method
get
(self, url)
undetected_chromedriver/__init__.py:662
↓ 10 callers
Method
get
(self, uri)
undetected_chromedriver/cdp.py:90
↓ 5 callers
Method
children
returns direct child elements of current element :param tag: str, if supplied, returns <tag> nodes only
undetected_chromedriver/webelement.py:12
↓ 5 callers
Method
update
(self, *a, **kw)
undetected_chromedriver/devtool.py:59
↓ 4 callers
Method
is_binary_patched
(self, executable_path=None)
undetected_chromedriver/patcher.py:358
↓ 4 callers
Method
quit
(self)
undetected_chromedriver/__init__.py:762
↓ 3 callers
Method
post
(self, uri, data: dict = None)
undetected_chromedriver/cdp.py:100
↓ 3 callers
Method
run
(self)
undetected_chromedriver/reactor.py:47
↓ 2 callers
Method
_merge_nested
merges b into a leaf values in a are overwritten with values from b
undetected_chromedriver/options.py:43
↓ 2 callers
Method
patch_exe
(self)
undetected_chromedriver/patcher.py:366
↓ 2 callers
Method
start_session
(self, capabilities=None, browser_profile=None)
undetected_chromedriver/__init__.py:721
↓ 2 callers
Method
tab_list
(self)
undetected_chromedriver/cdp.py:68
↓ 1 callers
Method
__init__
(self, options: "ChromeOptions")
undetected_chromedriver/cdp.py:49
↓ 1 callers
Method
__setattr__
(self, key, value)
undetected_chromedriver/devtool.py:53
↓ 1 callers
Method
__setitem__
(self, key, value)
undetected_chromedriver/devtool.py:56
↓ 1 callers
Method
_configure_headless
(self)
undetected_chromedriver/__init__.py:491
↓ 1 callers
Function
_ensure_service_started
()
undetected_chromedriver/devtool.py:117
↓ 1 callers
Function
_recursive_children
returns all children of <element> recursively :param element: `WebElement` object. find children below this <element> :para
undetected_chromedriver/webelement.py:67
↓ 1 callers
Method
_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 callers
Method
_undot_key
turn a (dotted key, value) into a proper nested dict
undetected_chromedriver/options.py:35
↓ 1 callers
Method
_wait_service_started
(self)
undetected_chromedriver/reactor.py:54
↓ 1 callers
Method
add_event_handler
Parameters ---------- event_name: str example "Network.responseReceived" callback: callable
undetected_chromedriver/reactor.py:25
↓ 1 callers
Method
auto
Args: executable_path: force: version_main: Returns:
undetected_chromedriver/patcher.py:122
↓ 1 callers
Method
click_safe
(self)
undetected_chromedriver/webelement.py:8
↓ 1 callers
Function
collector
( driver: uc.Chrome, stop_event: threading.Event, on_event_coro: Optional[Callable[[Li
undetected_chromedriver/devtool.py:110
↓ 1 callers
Method
fetch_package
Downloads ChromeDriver from source :return: path to downloaded file
undetected_chromedriver/patcher.py:273
↓ 1 callers
Method
fetch_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 callers
Function
find_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 callers
Method
force_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 callers
Function
func_called
(fn)
undetected_chromedriver/devtool.py:159
↓ 1 callers
Function
get_log_lines
(typ)
undetected_chromedriver/devtool.py:127
↓ 1 callers
Method
handle_prefs
(self, user_data_dir)
undetected_chromedriver/options.py:56
↓ 1 callers
Method
listen
(self)
undetected_chromedriver/reactor.py:66
↓ 1 callers
Function
looper
()
undetected_chromedriver/devtool.py:131
↓ 1 callers
Function
main
(args=None)
example/example.py:14
↓ 1 callers
Function
main
()
example/test_workflow.py:16
↓ 1 callers
Method
patch
(self)
undetected_chromedriver/patcher.py:229
↓ 1 callers
Method
reconnect
(self, timeout=0.1)
undetected_chromedriver/__init__.py:705
↓ 1 callers
Method
send
(self, method: str, params: dict)
undetected_chromedriver/cdp.py:80
↓ 1 callers
Function
start_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 callers
Method
tab_new
(self, url)
undetected_chromedriver/cdp.py:72
↓ 1 callers
Method
unzip_package
Does what it says :return: path to unpacked executable
undetected_chromedriver/patcher.py:290
↓ 1 callers
Method
window_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
Method
add_cdp_listener
(self, event_name, callback)
undetected_chromedriver/__init__.py:667
Method
attrs
(self)
undetected_chromedriver/webelement.py:45
Method
cleanup_unused_files
(self)
undetected_chromedriver/patcher.py:220
Method
clear_cdp_listeners
(self)
undetected_chromedriver/__init__.py:677
Method
driver_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
Method
find_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
Method
from_options
(cls, options)
undetected_chromedriver/options.py:82
Function
function_reached_timeout
()
undetected_chromedriver/devtool.py:82
Method
gen_random_cdc
()
undetected_chromedriver/patcher.py:354
Method
get_wrapped
(*args, **kwargs)
undetected_chromedriver/__init__.py:495
Method
last_json
(self)
undetected_chromedriver/cdp.py:111
Method
newfunc
(*args, **kwargs)
undetected_chromedriver/__init__.py:811
Function
on_event
(data)
undetected_chromedriver/devtool.py:155
Method
parse_exe_version
(self)
undetected_chromedriver/patcher.py:266
Method
running
(self)
undetected_chromedriver/reactor.py:44
Method
search_frame
(f=None)
undetected_chromedriver/__init__.py:740
Method
tab_activate
(self, id=None)
undetected_chromedriver/cdp.py:61
Method
tab_close_last_opened
(self)
undetected_chromedriver/cdp.py:75
Method
tab_new
this opens a url in a new tab. apparently, that passes all tests directly! Parameters ---------- url
undetected_chromedriver/__init__.py:686
Function
test
()
undetected_chromedriver/devtool.py:103
Function
threaded
(driver, stop_event, on_event_coro)
undetected_chromedriver/devtool.py:116
Function
timeout
(seconds=3, on_timeout: Optional[Callable[[callable], Any]] = None)
undetected_chromedriver/devtool.py:78
Method
user_data_dir
(self)
undetected_chromedriver/options.py:16
Function
wrapped
(*args, **kwargs)
undetected_chromedriver/devtool.py:81
Function
wrapper
(func)
undetected_chromedriver/devtool.py:79