Skip to content

Commit af2b394

Browse files
committed
fix(browser/captcha): avoid login buttons
1 parent de4e1de commit af2b394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npiai/core/tool/_browser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ async def handle_captcha(captcha_type: Literal["none", "captcha", "login"]):
356356
NOTE:
357357
- Popups like cookie consent banners should not be considered as login forms.
358358
- The login action can be ignored if the main content is visible in the screenshot.
359-
- Login button that triggers a login form should not be considered as login forms. Only visible login forms should be considered.
359+
- Login button that triggers a login form should not be considered as login forms. Only visible login forms with input fields should be considered.
360360
"""
361361
),
362362
),

0 commit comments

Comments
 (0)