equals method Null safety
- WebElement other
Are these two elements the same underlying element in the DOM.
Implementation
bool equals(WebElement other) =>
other is WebElement && other.driver == driver && other.id == id;
Are these two elements the same underlying element in the DOM.
bool equals(WebElement other) =>
other is WebElement && other.driver == driver && other.id == id;