How to click on Toolbar Item with selenium?
问题 Web page contain a button with some text for example "Test". This button actually is a toolbar element. ( class ="tbButton" id="id",text="Test") and redirects to a certain table when press on it. When try to use the following click methods selenium.click("id"); selenium.doubleClick("id"); selenium.click("//*[text()='Test'and contains(@class, 'tbButton')] "); the button does not react Could enybody show an alternative methods that is able to resolve a problem 回答1: It's hard to know exactly