We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37e266a commit 313847dCopy full SHA for 313847d
1 file changed
app/src/main/java/mozilla/lockbox/autofill/ViewNodeNavigator.kt
@@ -116,8 +116,9 @@ class ViewNodeNavigator(
116
node.htmlInfo?.attributes?.find { name == it.first }?.second
117
118
override fun isButton(node: ViewNode): Boolean {
119
+ val className = node.className ?: ""
120
when {
- node.className.contains("Button") -> return true
121
+ className.contains("Button") -> return true
122
htmlTagName(node) == "button" -> return true
123
htmlTagName(node) != "input" -> return false
124
}
0 commit comments