Search⌘ K
AI Features

Tag Error and Element Not Clickable

Explore common Selenium WebDriver errors such as tag mismatches and elements not clickable. Understand how to identify and resolve these issues using specific element locators and scrolling to make elements visible for interaction.

Unexpected tag name input

This error occurs because there is another control matching your findElement, and it is a different control type than desired input. For example:

HTML
<input type="checkbox" name="vip" value="on"> VIP?
<!-- ... -->
<select name="vip">
<option value="true">Yes</option>
<option value="false">No/option>
</select>

The intention of the test script below is ...