From eb3fb53fb7e3880cbdebec1038add59db99816c5 Mon Sep 17 00:00:00 2001 From: Rafael Garcia Date: Fri, 22 Sep 2023 18:11:50 -0400 Subject: [PATCH] detect textarea elements as interactable --- natbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/natbot.py b/natbot.py index 634ac91..3fd9f30 100755 --- a/natbot.py +++ b/natbot.py @@ -297,6 +297,8 @@ def convert_name(node_name, has_click_handler): return "input" if node_name == "img": return "img" + if node_name == "textarea": + return "textarea" if ( node_name == "button" or has_click_handler ): # found pages that needed this quirk