MCPcopy Create free account
hub / github.com/HasData/cloudflare-bypass / human_like_interaction

Function human_like_interaction

Python/full_flow_example.py:16–22  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

14]
15
16async def human_like_interaction(page):
17 await page.mouse.move(100, 100)
18 await asyncio.sleep(random.uniform(0.5, 1.5))
19 await page.mouse.move(200, 300)
20 await asyncio.sleep(random.uniform(0.5, 1.5))
21 await page.evaluate("window.scrollBy(0, window.innerHeight / 2)")
22 await asyncio.sleep(random.uniform(1, 2))
23
24async def main():
25 proxy = random.choice(PROXIES)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected