I have several tests that click on a tab, however the click is not always executed.
xpath is correct as most of the time when the test is running
This is not a synchronization issue, as I used thread.sleep () and other methods to make sure the element is visible before clicking
The test considers that it executes a click because it does not throw an ElementNotFoundException or any other exceptions when it “clicks”. The test will fail later after clicking, because the contents of the tab has not changed.
Additional information I use Selenium 2.44.0 to implement Java tests that run on Chrome 44.0.2403.107 m.
Is there anything else I can do, or could it be a problem with selenium?
source share