我一直试图从这个下拉列表中选择"all“值,但我只能打开/单击该下拉列表,而不能选择all选项。在selenium - org.openqa.selenium.ElementNotInteractableException:元素中获取此消息不可交互 Html image here 这是我的代码..//Select Items per page dropdown//
@FindBy(xpath="//\"/html&
我只想访问xpath。但是当我在inspect菜单中搜索它时,它找到5个结果。我想访问它们中的一个而不是5。如何使用索引号访问?比如..。xpath = "//a[@role='button']" # 5 elements available with this xpath
modified_xpath = "/