MCPcopy
hub / github.com/InstaPy/InstaPy / get_comment_input

Function get_comment_input

instapy/comment_util.py:36–46  ·  view source on GitHub ↗
(browser)

Source from the content-addressed store, hash-verified

34
35
36def get_comment_input(browser):
37 comment_input = browser.find_elements(
38 By.XPATH, read_xpath(get_comment_input.__name__, "comment_input")
39 )
40
41 if len(comment_input) <= 0:
42 comment_input = browser.find_elements(
43 By.XPATH, read_xpath(get_comment_input.__name__, "placeholder")
44 )
45
46 return comment_input
47
48
49def open_comment_section(browser, logger):

Callers 1

comment_imageFunction · 0.85

Calls 1

read_xpathFunction · 0.85

Tested by

no test coverage detected