clj-commons / etaoin

Pure Clojure Webdriver protocol implementation
https://cljdoc.org/d/etaoin
Eclipse Public License 1.0
915 stars 95 forks source link

`intersects?` doesn't correctly test for intersection #647

Closed dgr closed 2 months ago

dgr commented 2 months ago

Version e0ae5ab8c8b499b3c04eb9aef3970ede045aa33e

Platform Unrelated to browser

Symptom The intersects? function returns incorrect results (e.g., says that two elements are intersecting when they are not.

Diagnosis The logic in intersects? is wrong.

Action I'll submit a PR with tests.