diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
 # Change Log
 
+## 0.12.0.0
+* Support aeson-2.2.0
+
 ## 0.11.0.0
 * Support GHC 9.6
 * Fix a link to the wrong GitHub branch in package description
diff --git a/src/Test/WebDriver/JSON.hs b/src/Test/WebDriver/JSON.hs
--- a/src/Test/WebDriver/JSON.hs
+++ b/src/Test/WebDriver/JSON.hs
@@ -51,6 +51,11 @@
 
 import Prelude -- hides some "unused import" warnings
 
+#if MIN_VERSION_aeson(2,2,0)
+-- This comes from the attoparsec-aeson package
+import Data.Aeson.Parser (json)
+#endif
+
 #if MIN_VERSION_aeson(2,0,0)
 import qualified Data.Aeson.Key             as A
 import qualified Data.Aeson.KeyMap          as HM
diff --git a/webdriver.cabal b/webdriver.cabal
--- a/webdriver.cabal
+++ b/webdriver.cabal
@@ -1,11 +1,11 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.35.2.
+-- This file has been generated from package.yaml by hpack version 0.36.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:           webdriver
-version:        0.11.0.0
+version:        0.12.0.0
 synopsis:       a Haskell client for the Selenium WebDriver protocol
 description:    A Selenium WebDriver client for Haskell.
                 You can use it to automate browser sessions
@@ -78,6 +78,7 @@
   build-depends:
       aeson >=0.6.2.0
     , attoparsec >=0.10
+    , attoparsec-aeson >=2
     , base ==4.*
     , base64-bytestring >=1.0
     , bytestring >=0.9
