MCPcopy Create free account

hub / github.com/WwwwwyDev/crawlipt / functions

Functions102 in github.com/WwwwwyDev/crawlipt

↓ 36 callersMethodget
(self, key: str)
crawlipt/pojo.py:29
↓ 12 callersFunctionget_driver
(is_headless=False, is_eager=False)
test.py:15
↓ 8 callersMethodprocess
process the script
crawlipt/script.py:548
↓ 7 callersMethodsyntax_check
Script syntax check
crawlipt/script.py:129
↓ 4 callersMethod__process_condition
(temp_condition: dict, webdriver: WebDriver, return_record: dict, global_script: d
crawlipt/script.py:236
↓ 4 callersMethodstatus
Prints things in bold.
setup.py:65
↓ 3 callersMethod__condition_check
(temp_condition: dict, name: str, pre_deep: str, current_deep: int, return_record: d
crawlipt/script.py:72
↓ 3 callersMethodclick
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 callersMethodgenerate
generate the scripts(dict) from list
crawlipt/script.py:411
↓ 2 callersMethod_process_script
process the script
crawlipt/script.py:273
↓ 2 callersMethod_replace_variable
(script: dict, variable: VariableBase)
crawlipt/script.py:394
↓ 2 callersMethodadd_action
add your own action
crawlipt/script.py:447
↓ 2 callersFunctionget_dict
(obj)
crawlipt/script.py:50
↓ 2 callersMethodpresence_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 callersFunctionwrapper
(func)
crawlipt/annotation.py:23
↓ 1 callersMethodadd_condition
add your own condition
crawlipt/script.py:482
↓ 1 callersMethodclear
close all windows :param driver: selenium webdriver
crawlipt/actions/window.py:10
↓ 1 callersMethodclose
Closes the current window. :param driver: selenium webdriver
crawlipt/actions/window.py:42
↓ 1 callersFunctiondfs_search
(obj)
crawlipt/script.py:42
↓ 1 callersMethodelement_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 callersMethodgenerate_json
generate the scripts(str of json) from list or dict.
crawlipt/script.py:440
↓ 1 callersMethodset
(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
Methodalert
Handling alert events :param driver: selenium webdriver :param operation: option in ["dismiss", "accept"] :param text
crawlipt/actions/alert.py:10
Methodalert_is_present
An expectation for checking whether the given frame is available to switch to.
crawlipt/conditions/presence.py:41
Functionalias
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
Methodback
Goes one step backward in the browser history. :param driver: selenium webdriver
crawlipt/actions/window.py:22
Functioncheck
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
MethodcheckNum
your doc :param driver: selenium webdriver :param xpath: the xpath of element
test.py:246
MethodclickAll
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
MethodclickAllByJs
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
MethodclickByJs
Handling click events of first element by js 'arguments[0].click();' :param driver: selenium webdriver :param xpath: click on
crawlipt/actions/click.py:44
MethodclickMulti
Handling click events of first element multiple times :param driver: selenium webdriver :param xpath: click on the xpath path
crawlipt/actions/click.py:25
MethodcrackCaptcha
Handling keyboard input events :param driver: selenium webdriver :param xpath: The xpath path of the
test.py:181
Methodcrawl_baidu_list
(driver: WebDriver, store: MyStore, limit: int)
test.py:358
Methodelement_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
Methodenter
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
Methodexecute
execute the js code :param driver: selenium webdriver :param js: str of js code text
crawlipt/actions/util.py:55
Methodfinalize_options
(self)
setup.py:72
Methodforward
Goes one step forward in the browser history. :param driver: selenium webdriver
crawlipt/actions/window.py:32
Methodframe_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
Methodget
(self, key: str)
crawlipt/pojo.py:13
MethodgetAttribute
get the attribute of an element :param driver: selenium webdriver :param xpath: The xpath path of the element :param
crawlipt/actions/get.py:42
MethodgetInnerText
get inner text of element :param driver: selenium webdriver :param xpath: The xpath path of the element
crawlipt/actions/get.py:12
MethodgetTextContent
get text content of element :param driver: selenium webdriver :param xpath: The xpath path of the element
crawlipt/actions/get.py:27
Functionget_remote_driver
(webdriver_url, is_eager=False)
test.py:45
Methodhtml
return the current page source :param driver: selenium webdriver
crawlipt/actions/window.py:62
Methodinitialize_options
(self)
setup.py:69
Functioninner_wrapper
(*args, **kwargs)
crawlipt/annotation.py:25
Methodinput
Handling keyboard input events :param driver: selenium webdriver :param xpath: The xpath path of the input box :param
crawlipt/actions/input.py:11
Methodinterval
delay num seconds :param driver: selenium webdriver :param num: the interval number
crawlipt/actions/util.py:26
MethodintervalRandom
delay [num/2, num] seconds :param driver: selenium webdriver :param num: the interval number
crawlipt/actions/util.py:41
Methodinvisibility_of_element_located
An Expectation for checking that an element is either invisible or not present on the DOM.
crawlipt/conditions/visibility.py:28
Methodlog
log the msg on the console :param driver: selenium webdriver :param msg: message to log
crawlipt/actions/util.py:14
Methodpresence_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
Methodredirect
Direct redirection :param driver: selenium webdriver :param url: Links that require redirection
crawlipt/actions/redirect.py:23
MethodredirectNewTab
redirect to a new tab :param driver: selenium webdriver :param url: Links that require redirection
crawlipt/actions/redirect.py:34
Methodrun
(self)
setup.py:75
MethodscrollByJs
Handling scroll events by Js :param driver: selenium webdriver :param height: scroll height
crawlipt/actions/scroll.py:15
MethodscrollBySpace
Handling scroll events by space :param driver: selenium webdriver :param cnt: the cnt of space :param frequency: the
crawlipt/actions/scroll.py:28
MethodscrollDownByArrow
Handling scroll events by arrow :param driver: selenium webdriver :param cnt: the cnt of arrow :param frequency: the
crawlipt/actions/scroll.py:96
MethodscrollToBottom
Handling scroll to bottom events by Js :param driver: selenium webdriver
crawlipt/actions/scroll.py:47
MethodscrollToTop
Handling scroll to top events by Js :param driver: selenium webdriver
crawlipt/actions/scroll.py:63
MethodscrollUpByArrow
Handling scroll events by arrow :param driver: selenium webdriver :param cnt: the cnt of arrow :param frequency: the
crawlipt/actions/scroll.py:79
MethodsearchRedirect
Replace % s in the path with keyword and redirect it :param driver: selenium webdriver :param url: Link containing %s
crawlipt/actions/redirect.py:11
MethodselectByIndex
Handling select events :param driver: selenium webdriver :param xpath: the xpath path of the select element :param in
crawlipt/actions/select.py:37
MethodselectByText
Handling select events :param driver: selenium webdriver :param xpath: the xpath path of the select element :param te
crawlipt/actions/select.py:11
MethodselectByValue
Handling select events :param driver: selenium webdriver :param xpath: the xpath path of the select element :param va
crawlipt/actions/select.py:24
Methodset
(self, method: str, value: Any)
crawlipt/pojo.py:43
Methodslide
Handling slide events :param driver: selenium webdriver :param xpath: The element to be slid :param position: The x,
crawlipt/actions/slide.py:10
MethodswitchLastTab
Switch to the last handle :param driver: selenium webdriver
crawlipt/actions/switch.py:10
MethodswitchOutFrame
Switch to the outer frame :param driver: selenium webdriver
crawlipt/actions/switch.py:47
MethodswitchTab
Switch to the index handle :param driver: selenium webdriver :param index: The index handle
crawlipt/actions/switch.py:21
MethodswitchToFrame
Switch to the inner frame :param driver: selenium webdriver :param xpath: The xpath of frame
crawlipt/actions/switch.py:35
Methodtest05
(self)
test.py:156
Methodtest06
(self)
test.py:174
Methodtest07
(self)
test.py:220
Methodtest_01
(self)
test.py:77
Methodtest_02
(self)
test.py:95
Methodtest_03
(self)
test.py:108
Methodtest_04
(self)
test.py:136
Methodtest_08
(self)
test.py:403
Methodtest_conditions
(self)
test.py:294
Methodtest_loop
(self)
test.py:242
Methodtest_store
(self)
test.py:351
Methodtest_variable
(self)
test.py:314
Methodtext_to_be_present_in_element
An expectation for checking if the given text is present in the specified element.
crawlipt/conditions/text.py:13
Methodtext_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