@ExtendWith({TextReportExtension.class})
class MyTest
одной строчкой над классом включается профайлинг в JUnit5
у меня TestNG
2019-12-02 17:27:35 [main] INFO LoggingEventListener - Trying to find By.xpath: //button[@data-toggle='dropdown' and .//span[contains(., '%')]]
2019-12-02 17:27:36 [main] INFO LoggingEventListener - Ok! Found By.xpath: //button[@data-toggle='dropdown' and .//span[contains(., '%')]]
2019-12-02 17:27:37 [main] INFO LoggingEventListener - Trying to find By.xpath: //button[@data-toggle='dropdown' and .//span[contains(., '%')]]
2019-12-02 17:27:37 [main] INFO LoggingEventListener - Ok! Found By.xpath: //button[@data-toggle='dropdown' and .//span[contains(., '%')]]
2019-12-02 17:27:38 [main] INFO LoggingEventListener - Trying to find By.xpath: //button[@data-toggle='dropdown' and .//span[contains(., '%')]]
2019-12-02 17:27:39 [main] INFO LoggingEventListener - Ok! Found By.xpath: //button[@data-toggle='dropdown' and .//span[contains(., '%')]]
2019-12-02 17:27:40 [main] INFO LoggingEventListener - Clicking on By.xpath: //button[@data-toggle='dropdown' and .//span[contains(., '%')]]
судя по логу - 5 сек, с перепоисками