MCPcopy Index your code
hub / github.com/Jack-Cherish/python-spider / open

Method open

geetest.py:84–92  ·  view source on GitHub ↗

打开浏览器,并输入查询内容

(self)

Source from the content-addressed store, hash-verified

82 self.BORDER = 6
83
84 def open(self):
85 """
86 打开浏览器,并输入查询内容
87 """
88 self.browser.get(self.url)
89 keyword = self.wait.until(EC.presence_of_element_located((By.ID, 'keyword_qycx')))
90 bowton = self.wait.until(EC.presence_of_element_located((By.CLASS_NAME, 'btn')))
91 keyword.send_keys(self.keyword)
92 bowton.click()
93
94 def get_images(self, bg_filename = 'bg.jpg', fullbg_filename = 'fullbg.jpg'):
95 """

Callers 8

crackMethod · 0.95
get_merge_imageMethod · 0.80
__init__Method · 0.80
video_playMethod · 0.80
download_wmxzMethod · 0.80
combineFunction · 0.80
runFunction · 0.80
LoginMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected