This repository contains WebDriverIO test cases designed to validate the behavior of WebDriver BiDi when handling click interception scenarios. The tests ensure that clicks are properly registered on visible elements while verifying how overlays affect user interactions.
The test suite includes the following cases:
- Ensures a button is clickable when there are no obstructions.
- Removes any existing overlay before attempting the click.
- Verifies that the button click event is properly logged.
- Attempts to click a button covered by an overlay.
- Catches the expected error indicating the click was intercepted.
- Confirms that no button click event is logged.
- Clicks on an overlay element.
- Checks if the overlay click event is logged correctly.
npm install
npm test