Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WwwwwyDev/crawlipt
/ functions
Functions
102 in github.com/WwwwwyDev/crawlipt
⨍
Functions
102
◇
Types & classes
31
↳
Endpoints
3
↓ 36 callers
Method
get
(self, key: str)
crawlipt/pojo.py:29
↓ 12 callers
Function
get_driver
(is_headless=False, is_eager=False)
test.py:15
↓ 8 callers
Method
process
process the script
crawlipt/script.py:548
↓ 7 callers
Method
syntax_check
Script syntax check
crawlipt/script.py:129
↓ 4 callers
Method
__process_condition
(temp_condition: dict, webdriver: WebDriver, return_record: dict, global_script: d
crawlipt/script.py:236
↓ 4 callers
Method
status
Prints things in bold.
setup.py:65
↓ 3 callers
Method
__condition_check
(temp_condition: dict, name: str, pre_deep: str, current_deep: int, return_record: d
crawlipt/script.py:72
↓ 3 callers
Method
click
Handling click events of first element :param driver: selenium webdriver :param xpath: click on the xpath path of the button
crawlipt/actions/click.py:13
↓ 3 callers
Method
generate
generate the scripts(dict) from list
crawlipt/script.py:411
↓ 2 callers
Method
_process_script
process the script
crawlipt/script.py:273
↓ 2 callers
Method
_replace_variable
(script: dict, variable: VariableBase)
crawlipt/script.py:394
↓ 2 callers
Method
add_action
add your own action
crawlipt/script.py:447
↓ 2 callers
Function
get_dict
(obj)
crawlipt/script.py:50
↓ 2 callers
Method
presence_of_all_elements_located
An expectation for checking that there is at least one element present on a web page.
crawlipt/conditions/presence.py:28
↓ 2 callers
Function
wrapper
(func)
crawlipt/annotation.py:23
↓ 1 callers
Method
add_condition
add your own condition
crawlipt/script.py:482
↓ 1 callers
Method
clear
close all windows :param driver: selenium webdriver
crawlipt/actions/window.py:10
↓ 1 callers
Method
close
Closes the current window. :param driver: selenium webdriver
crawlipt/actions/window.py:42
↓ 1 callers
Function
dfs_search
(obj)
crawlipt/script.py:42
↓ 1 callers
Method
element_to_be_clickable
An Expectation for checking an element is visible and enabled such that you can click it.
crawlipt/conditions/element.py:14
↓ 1 callers
Method
generate_json
generate the scripts(str of json) from list or dict.
crawlipt/script.py:440
↓ 1 callers
Method
set
(self, method: str, value: Any)
crawlipt/pojo.py:57
Method
__call__
(self, webdriver: WebDriver)
crawlipt/script.py:572
Method
__contains__
(self, key: str)
crawlipt/pojo.py:17
Method
__contains__
(self, key: str)
crawlipt/pojo.py:33
Method
__init__
(self)
test.py:354
Method
__init__
(self, values: dict | str)
crawlipt/pojo.py:23
Method
__init__
:param is_replace: need replace the value of method or not
crawlipt/pojo.py:49
Method
__init__
(self, e: Exception, method: str, deep: str)
crawlipt/script.py:19
Method
__init__
Script Parser :param script: Need a str of json or dict or list steps that conforms to syntax conventions :param global_scrip
crawlipt/script.py:522
Method
__init__
(self, message)
crawlipt/error.py:2
Method
__init__
(self, message)
crawlipt/error.py:10
Method
__str__
(self)
crawlipt/script.py:24
Method
__str__
(self)
crawlipt/error.py:5
Method
__str__
(self)
crawlipt/error.py:13
Method
alert
Handling alert events :param driver: selenium webdriver :param operation: option in ["dismiss", "accept"] :param text
crawlipt/actions/alert.py:10
Method
alert_is_present
An expectation for checking whether the given frame is available to switch to.
crawlipt/conditions/presence.py:41
Function
alias
Add an alias to your newly added action or condition so that the script can resolve to this function through the alias :param name: The name
crawlipt/annotation.py:71
Method
back
Goes one step backward in the browser history. :param driver: selenium webdriver
crawlipt/actions/window.py:22
Function
check
Turn the function into a strongly typed function, check if the parameter type is legal, and if not, directly assert. \n You could use @check
crawlipt/annotation.py:8
Method
checkNum
your doc :param driver: selenium webdriver :param xpath: the xpath of element
test.py:246
Method
clickAll
Handling click events of all element :param driver: selenium webdriver :param xpath: click on the xpath path of the button
crawlipt/actions/click.py:56
Method
clickAllByJs
Handling click events of all element by js 'arguments[0].click();' :param driver: selenium webdriver :param xpath: click on t
crawlipt/actions/click.py:70
Method
clickByJs
Handling click events of first element by js 'arguments[0].click();' :param driver: selenium webdriver :param xpath: click on
crawlipt/actions/click.py:44
Method
clickMulti
Handling click events of first element multiple times :param driver: selenium webdriver :param xpath: click on the xpath path
crawlipt/actions/click.py:25
Method
crackCaptcha
Handling keyboard input events :param driver: selenium webdriver :param xpath: The xpath path of the
test.py:181
Method
crawl_baidu_list
(driver: WebDriver, store: MyStore, limit: int)
test.py:358
Method
element_located_to_be_selected
An Expectation for checking an element is visible and enabled such that you can click it.
crawlipt/conditions/element.py:28
Method
enter
Press the enter key once :param driver: selenium webdriver :param xpath: The xpath path of the input box :return: Whe
crawlipt/actions/input.py:23
Method
execute
execute the js code :param driver: selenium webdriver :param js: str of js code text
crawlipt/actions/util.py:55
Method
finalize_options
(self)
setup.py:72
Method
forward
Goes one step forward in the browser history. :param driver: selenium webdriver
crawlipt/actions/window.py:32
Method
frame_to_be_available_and_switch_to_it
An expectation for checking whether the given frame is available to switch to.
crawlipt/conditions/frame.py:13
Method
get
(self, key: str)
crawlipt/pojo.py:13
Method
getAttribute
get the attribute of an element :param driver: selenium webdriver :param xpath: The xpath path of the element :param
crawlipt/actions/get.py:42
Method
getInnerText
get inner text of element :param driver: selenium webdriver :param xpath: The xpath path of the element
crawlipt/actions/get.py:12
Method
getTextContent
get text content of element :param driver: selenium webdriver :param xpath: The xpath path of the element
crawlipt/actions/get.py:27
Function
get_remote_driver
(webdriver_url, is_eager=False)
test.py:45
Method
html
return the current page source :param driver: selenium webdriver
crawlipt/actions/window.py:62
Method
initialize_options
(self)
setup.py:69
Function
inner_wrapper
(*args, **kwargs)
crawlipt/annotation.py:25
Method
input
Handling keyboard input events :param driver: selenium webdriver :param xpath: The xpath path of the input box :param
crawlipt/actions/input.py:11
Method
interval
delay num seconds :param driver: selenium webdriver :param num: the interval number
crawlipt/actions/util.py:26
Method
intervalRandom
delay [num/2, num] seconds :param driver: selenium webdriver :param num: the interval number
crawlipt/actions/util.py:41
Method
invisibility_of_element_located
An Expectation for checking that an element is either invisible or not present on the DOM.
crawlipt/conditions/visibility.py:28
Method
log
log the msg on the console :param driver: selenium webdriver :param msg: message to log
crawlipt/actions/util.py:14
Method
presence_of_element_located
An expectation for checking that an element is present on the DOM of a page. This does not necessarily mean that the element is visible.
crawlipt/conditions/presence.py:14
Method
redirect
Direct redirection :param driver: selenium webdriver :param url: Links that require redirection
crawlipt/actions/redirect.py:23
Method
redirectNewTab
redirect to a new tab :param driver: selenium webdriver :param url: Links that require redirection
crawlipt/actions/redirect.py:34
Method
run
(self)
setup.py:75
Method
scrollByJs
Handling scroll events by Js :param driver: selenium webdriver :param height: scroll height
crawlipt/actions/scroll.py:15
Method
scrollBySpace
Handling scroll events by space :param driver: selenium webdriver :param cnt: the cnt of space :param frequency: the
crawlipt/actions/scroll.py:28
Method
scrollDownByArrow
Handling scroll events by arrow :param driver: selenium webdriver :param cnt: the cnt of arrow :param frequency: the
crawlipt/actions/scroll.py:96
Method
scrollToBottom
Handling scroll to bottom events by Js :param driver: selenium webdriver
crawlipt/actions/scroll.py:47
Method
scrollToTop
Handling scroll to top events by Js :param driver: selenium webdriver
crawlipt/actions/scroll.py:63
Method
scrollUpByArrow
Handling scroll events by arrow :param driver: selenium webdriver :param cnt: the cnt of arrow :param frequency: the
crawlipt/actions/scroll.py:79
Method
searchRedirect
Replace % s in the path with keyword and redirect it :param driver: selenium webdriver :param url: Link containing %s
crawlipt/actions/redirect.py:11
Method
selectByIndex
Handling select events :param driver: selenium webdriver :param xpath: the xpath path of the select element :param in
crawlipt/actions/select.py:37
Method
selectByText
Handling select events :param driver: selenium webdriver :param xpath: the xpath path of the select element :param te
crawlipt/actions/select.py:11
Method
selectByValue
Handling select events :param driver: selenium webdriver :param xpath: the xpath path of the select element :param va
crawlipt/actions/select.py:24
Method
set
(self, method: str, value: Any)
crawlipt/pojo.py:43
Method
slide
Handling slide events :param driver: selenium webdriver :param xpath: The element to be slid :param position: The x,
crawlipt/actions/slide.py:10
Method
switchLastTab
Switch to the last handle :param driver: selenium webdriver
crawlipt/actions/switch.py:10
Method
switchOutFrame
Switch to the outer frame :param driver: selenium webdriver
crawlipt/actions/switch.py:47
Method
switchTab
Switch to the index handle :param driver: selenium webdriver :param index: The index handle
crawlipt/actions/switch.py:21
Method
switchToFrame
Switch to the inner frame :param driver: selenium webdriver :param xpath: The xpath of frame
crawlipt/actions/switch.py:35
Method
test05
(self)
test.py:156
Method
test06
(self)
test.py:174
Method
test07
(self)
test.py:220
Method
test_01
(self)
test.py:77
Method
test_02
(self)
test.py:95
Method
test_03
(self)
test.py:108
Method
test_04
(self)
test.py:136
Method
test_08
(self)
test.py:403
Method
test_conditions
(self)
test.py:294
Method
test_loop
(self)
test.py:242
Method
test_store
(self)
test.py:351
Method
test_variable
(self)
test.py:314
Method
text_to_be_present_in_element
An expectation for checking if the given text is present in the specified element.
crawlipt/conditions/text.py:13
Method
text_to_be_present_in_element_value
An expectation for checking if the given text is present in the element's value.
crawlipt/conditions/text.py:26
next →
1–100 of 102, ranked by callers