因为你要操作的这个 button 元素里有 disable 属性,disable 属性使该元素不可选中,不可操作,所以无法定位。可以看看这里的介绍https://www.runoob.com/tags/att-input-disabled.html