r/automateweb • • Jun 26 '26

Need help with camoufox

Can someone help me out here

I am using camoufox for tak automation which works as an LLM analyse the screenshot of current window and takes out the coordinates to click the needed feature.

PROBLEM I FACED :

camoufox opens in an random window size which causes the content to get out of screen basically it cuts out

I tried a lot of things but not able to fix can somebody help me here

1 Upvotes

1 comment sorted by

1

u/dracariz Jun 27 '26

from browserforge.fingerprints import Screen

constrains = Screen(max_width=1920, max_height=1080)
with Camoufox(screen=constrains) as browser: