MCPcopy
hub / github.com/stitionai/devika / open_page

Method open_page

src/agents/agent.py:69–77  ·  view source on GitHub ↗
(self, project_name, url)

Source from the content-addressed store, hash-verified

67 self.tokenizer = tiktoken.get_encoding("cl100k_base")
68
69 async def open_page(self, project_name, url):
70 browser = await Browser().start()
71
72 await browser.go_to(url)
73 _, raw = await browser.screenshot(project_name)
74 data = await browser.extract_text()
75 await browser.close()
76
77 return browser, raw, data
78
79 def search_queries(self, queries: list, project_name: str) -> dict:
80 results = {}

Callers 1

search_queriesMethod · 0.95

Calls 6

BrowserClass · 0.90
startMethod · 0.80
go_toMethod · 0.80
extract_textMethod · 0.80
closeMethod · 0.80
screenshotMethod · 0.45

Tested by

no test coverage detected