{"_id":"playwright-testing-library","_rev":"47-e435295758dc9520ca7588880a966a26","name":"playwright-testing-library","dist-tags":{"latest":"4.5.0","next":"4.0.0","beta":"4.4.0-beta.6","alpha":"4.4.0-alpha.1"},"versions":{"1.0.0":{"name":"playwright-testing-library","version":"1.0.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"test":"yarn test:lint && yarn test:unit","test:unit":"jest","test:lint":"lint -t typescript './lib/**/*.ts'","clean":"rm -fR dist/","rebuild":"yarn clean && yarn build","prepublishOnly":"yarn rebuild && generate-export-aliases","build":"yarn build:ts && yarn build:rollup","build:ts":"tsc","build:rollup":"rollup -c rollup.config.js","ci-after-success":"hover-scripts ci-after-success"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"tslint":{"rules":{"increment-decrement":false,"no-unsafe-any":false,"ban-ts-ignore":{"severity":"warning"},"function-constructor":{"severity":"warning"},"strict-comparisons":{"severity":"warning"},"match-default-export-name":{"severity":"warning"}}},"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.0.2","@patrickhulce/lint":"^2.1.3","@rollup/plugin-commonjs":"^11.0.2","@rollup/plugin-node-resolve":"^7.1.1","@rollup/plugin-replace":"^2.3.1","@types/jest":"^25.1.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.0.2","rollup":"^2.0.3","ts-jest":"^25.2.1","tslint":"^6.0.0","typescript":"^3.8.3"},"peerDependencies":{"playwright":"^1.0.0"},"engines":{"node":"^10 || ^12 || ^13 || ^14"},"gitHead":"bfb5a6ad933f57cf81daf2936e1f0fd8e4abd2e8","_id":"playwright-testing-library@1.0.0","_nodeVersion":"12.17.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-UheGadEFskA5WErlHr5ENXmVlvCPAE2MOvdjpubmqiEZiZJdOQ3/Suj1W6+Ny7zXKTuh3nPGtbGSWDXZQkOQ/w==","shasum":"2e6e0f42919744d70a375eb72d330c6bebf3e5ec","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-1.0.0.tgz","fileCount":24,"unpackedSize":484110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezw13CRA9TVsSAnZWagAAJ/cP/1Wxrm6YJw5BkeVpG2X+\nf5dapziPdvv6p3kCbu1LIj/BxsH6OZe8hT/ArQ6bleI0BxrJoWE7BIXRXR1t\n8f30IN4Opk5TanRBOxqD8BGsYlh7ue5JP+jKZRjm1zFfQmFXPmqKPoMjDaJx\n9XFqG8O/fc/BFXOGptycUZiuDuTig2+BvswPq3WUBXeSDLShPT0GQwxVoOg9\ncBMuK7I6Boi/jRJYMEtHiPcmxn8+5AqAceuDcVPjo3arvsN3yqCx5CiPsxWZ\nhYSh0CNvlWOPZ75rD2QHe4O7amXZ0EycW7l0aR9BEanfVbTBxhmTz7n6skpC\nC69LNTv9I0ZYFTDgMH55j1gOEIc3ZKv8Mv3VYaJUn0Wu8XHVqhKywbDZ2pCx\ntp5zQaTuVHiauF4p5I3DYtI7AVbk8y1FTGbeKcwhr4pUXbBxwiv66La6h3zC\nYmcuiUAH3Xn9LjG8QlbeXLxl/ckW2tFTlmrsexrQcurnA592f91KnNVpJbTa\n6xGvaxL+LwjHgzSoylHnzpNMwYaBShYx7MryK0z91sDc3If6kMlQDCitdbLY\nu5qnLmJoH+LZubgGZVkwjgAYd2vsulmGNBRmd9Jnkgn7AjsEigfHXBst/DjB\nSsR7NlnBLPqFcp5ZDwQwYOxcCPa7fzz+BSC60iHBUP4ja1bsie4Rw7fv3aVd\n3rTP\r\n=RDBn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHhSddF0XWBASUs5N4bmCFf7wpf86DPeYQ9sGxxVMt9qAiA3tm+6dUJO7BowNUcP5ynINt4wBBSxfLvNzRjgelkj6Q=="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_1.0.0_1590627703218_0.6721447942310854"},"_hasShrinkwrap":false},"1.1.0":{"name":"playwright-testing-library","version":"1.1.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"test":"yarn test:lint && yarn test:unit","test:unit":"jest","test:lint":"lint -t typescript './lib/**/*.ts'","clean":"rm -fR dist/","rebuild":"yarn clean && yarn build","prepublishOnly":"yarn rebuild && generate-export-aliases","build":"yarn build:ts && yarn build:rollup","build:ts":"tsc","build:rollup":"rollup -c rollup.config.js","ci-after-success":"hover-scripts ci-after-success"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"tslint":{"rules":{"increment-decrement":false,"no-unsafe-any":false,"ban-ts-ignore":{"severity":"warning"},"function-constructor":{"severity":"warning"},"strict-comparisons":{"severity":"warning"},"match-default-export-name":{"severity":"warning"}}},"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.0.2","@patrickhulce/lint":"^2.1.3","@rollup/plugin-commonjs":"^11.0.2","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^25.1.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.0.2","rollup":"^2.0.3","ts-jest":"^25.2.1","tslint":"^6.0.0","typescript":"^3.8.3"},"peerDependencies":{"playwright":"^1.0.0"},"engines":{"node":"^10 || ^12 || ^13 || ^14"},"gitHead":"6df0aa04be1e0a630b61b1c4cd44d4d81388eafa","_id":"playwright-testing-library@1.1.0","_nodeVersion":"12.17.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-GGUjYtnGF4UZK74LyncuWRZxMACbvGRQzONapZb16r/K2QhnKK36hTcRfzjQtb6cg2O2b0izD0yGVNRCwkGmBA==","shasum":"daae95ced72b0434f322fbb9c47649027086d48e","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-1.1.0.tgz","fileCount":24,"unpackedSize":499618,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0DzJCRA9TVsSAnZWagAAJAIP/3lKwfwtWMm0GKDp4hRt\nPquBINlKp2pB0lfxuwN2vaw5z9vOWARZVQp/abuR5lVOBf6z5yAi1IS+1fkz\nDccZSAffkPvbFcxaiKKG9XKkr2Kk/p1hyjIHgxfeLexKzE6oYl8+/IpLSvg0\nCTLRwGPi1mKqhXdbYFXgBxpQJMw38LI16ZsCDXfJ5SXCWil01cmI4fFnyO9N\nU78G0SCK4LcP9a54EIWSK70CLNSzJ+3dc8ViNPUb+quDEUqBlHjSfMkSs30R\nKBUnxZ3VLVyWRe63ZE+IkCz94uUt3bMvyw+YWUhacFS2pXcprofOP3w2ZpPC\nLAf/63tE4ikRT3ir30hB2Txrph60L/tLCSNr9vhO7Wg1vjuk02vz05kl6UuG\n92r3P+MStnBC/ojGepi68UGB/gfzGEAFci7sKYMoGTzvqra1IpR85hDk9uxk\nH/zRyhuKinVM9XPlkkz37Rbr75H5aulwzqg0Vuo/la4/WvmCvg2IsFj4T3ZV\nmIDaeTw3CMLeiRkEszHhlnMDKKnIgyJj/m20Yy17D1t1N6VNLDPGb9ErR0Bk\n8nt3OZJDyV5YCy0xQonw4joks9wlI0/17wziQnQvkyHSZw5YY3fSiPfQz5za\ndbtOik891LhR49V+JSP86nk+HEuewvtCSWNdc5/FWMMuqY2DSWCJ81vUcws6\n9ae4\r\n=CMhN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwjGtVMfWm6PJIm5d2Z5JbFebIUHhV8jeGXWAv3T48+AiAfbny800vqx1wHM7TbZmIZVhlNoJcnyfGmLw3MLkPLwA=="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_1.1.0_1590705353213_0.27726166894238946"},"_hasShrinkwrap":false},"1.2.0":{"name":"playwright-testing-library","version":"1.2.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"test":"yarn test:lint && yarn test:unit","test:unit":"jest","test:lint":"lint -t typescript './lib/**/*.ts'","clean":"rm -fR dist/","rebuild":"yarn clean && yarn build","prepublishOnly":"yarn rebuild && generate-export-aliases","build":"yarn build:ts && yarn build:rollup","build:ts":"tsc","build:rollup":"rollup -c rollup.config.js","ci-after-success":"hover-scripts ci-after-success"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"tslint":{"rules":{"increment-decrement":false,"no-unsafe-any":false,"ban-ts-ignore":{"severity":"warning"},"function-constructor":{"severity":"warning"},"strict-comparisons":{"severity":"warning"},"match-default-export-name":{"severity":"warning"}}},"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.0.2","@patrickhulce/lint":"^2.1.3","@rollup/plugin-commonjs":"^12.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^25.1.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.0.2","rollup":"^2.0.3","ts-jest":"^25.2.1","tslint":"^6.0.0","typescript":"^3.8.3"},"peerDependencies":{"playwright":"^1.0.0"},"engines":{"node":"^10 || ^12 || ^13 || ^14"},"gitHead":"72da0aea5b48169a4ace6585fa4808cdf6d7a055","_id":"playwright-testing-library@1.2.0","_nodeVersion":"12.17.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-xzmLFGItXAZf5HaN+f9k6obwMGd5VsekhPZzAGBg06LRF3vTEHzVP3JMbj3ppRL9WpUP7uJnpLjLPof/cNkUig==","shasum":"4e9d86e74555d4cb6258581d8088cef14177c164","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-1.2.0.tgz","fileCount":24,"unpackedSize":516642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1WavCRA9TVsSAnZWagAAVSMP/13JJbIEboZQjpjhiAJ/\nXo/FBZLbGVC1XN+ldgF1bQdLCwN5H76loDf/Wz/xY9wdpQ6aNdjGdVOMoTub\nC0Z8ed10HHTC3eOVXI5vICbF6RKtLk/jwBfmgrCCp8LGWXriG4qNRU78zW1Z\n3yK/gQqVc4Y0pT45kim0wXXlPYLxmmJ8ldYXOib5QTbSSuwXPx0sjl0H01Ih\nZyl9IN+0xs+zZBMPi5Rq5fTlxyel9GRQwPmqy7Hz4D72XNeJFU8BXYfs/wg7\nIgCvAZN4aeQOGzyYcaL6XhvR0kwYpUQX3CUwXKpXULanjorrMXpfpH6y+zGM\nMhR3JQaIbUw419QhaalzWY+dArRZGnIWVISWJQbzo8rp+CKsN5KXNsKbYZKt\nFUwTg1WsSHfYrXZMoDoeiT/iOdG8iq6HZu6mY5lEsXWb7l9mWKnRq7ivZxAx\nohXsbuyDlqbK9933Yac+09VCHhOA9kNkxu1V2b7RbE26fceF7W1FAWx9MmYD\nF921iz83OGpEDtT/YT5EXF/DHJ9dWndd4ClVPp3NPMfo6ZJ+IheHP6C5ZXkm\n6GzDnKS/n0sCdS/8ZFVZBH4S8cTdUvB6fZVQJly0gniyH19RUtjSaJ9Y/pB2\ng7NZinWTd+c0uXZZky6Se+XgOSSGx0CmwXC72y49+Z7RcVKl10k8VeZd3sCh\njNYV\r\n=gjHA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAnOCWhGdR1/QJudSvaR4f28mH+nue4jNNmO4db/Fw8qAiEA+9rs7xESVHFMPlYZe3K+ESDaqH3fBcftTdqvhmuc4H8="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_1.2.0_1591043758927_0.8438028113431122"},"_hasShrinkwrap":false},"1.2.1":{"name":"playwright-testing-library","version":"1.2.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"test":"yarn test:lint && yarn test:unit","test:unit":"jest","test:lint":"lint -t typescript './lib/**/*.ts'","clean":"rm -fR dist/","rebuild":"yarn clean && yarn build","prepublishOnly":"yarn rebuild && generate-export-aliases","build":"yarn build:ts && yarn build:rollup","build:ts":"tsc","build:rollup":"rollup -c rollup.config.js","ci-after-success":"hover-scripts ci-after-success"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"tslint":{"rules":{"increment-decrement":false,"no-unsafe-any":false,"ban-ts-ignore":{"severity":"warning"},"function-constructor":{"severity":"warning"},"strict-comparisons":{"severity":"warning"},"match-default-export-name":{"severity":"warning"}}},"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.0.2","@patrickhulce/lint":"^2.1.3","@rollup/plugin-commonjs":"^12.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^25.1.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.0.2","rollup":"^2.0.3","ts-jest":"^25.2.1","tslint":"^6.0.0","typescript":"^3.8.3"},"peerDependencies":{"playwright":"^1.0.0"},"engines":{"node":"^10 || ^12 || ^13 || ^14"},"gitHead":"9970365d62018bfa8bdba769440e8e401cb36140","_id":"playwright-testing-library@1.2.1","_nodeVersion":"12.17.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-kTzAkNorNATibdoT8s3FK3kPXx4LXF9/gjU98R6XigM9IBRH0xA3nM06gtM+rxldq/p46ozReuIJ8xHR13fz/Q==","shasum":"1c08e5fa765356737e165184b27e1d20c09e1533","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-1.2.1.tgz","fileCount":24,"unpackedSize":516712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1oYyCRA9TVsSAnZWagAAd78P/i0ArIhl6HiFStB+Eus7\nZMwaxyaUp1g/WrZHlgq9Y3QHnRl3JX7QVGigwXzVME29h81yeYPQ0y1MrZPd\nIVP4IIJiFyds5y2EqcZw8vCmnp+qOtdfLOsdKYF7QJ1c2VWFChGtHFsXKEBc\nA6r/YgdwTgr3mk6m5sQoaLjP1ACdZ8PxaCjBHQa4w67BemYNlWhX1+OlgFlE\nquMvcvV9mjwZ6vO2kvLXhl4lDGgngBIjRN/5gAmlcHMyMvDXZ9Hfzl+wzovX\n5YFH30kch34cUIuy1Hq+ENq1/vhMrpuytZjTh06Kryw3MzFjZGiT8QGUgIYl\n4juV4r2Jl2W+Q47HKEcV7v1TVtoFCPoeVwz3fjmS73sDtCzM/oD4fdmvRE+W\nYpUjTR5HGFVKH+lc5rQlTi5h172G7ImWElgd57p5W87AHOXVzWJOAqcRPQhW\nV14XLq9GBgtVxegzQqKt0bZBIj8cpnM87xmf6hGlIJiV0By45cBpJOruVi2X\ndXu8yDyWtyPP7WtN1Tz2xdqe38uSekQ3kHbf3Bics7tfPTDs3eB/32Pipdu5\nM9NF093DikOLHD06qJvY4NJzl/lAGaQdnriDTJuMD0GjPaNRrsegvWCinFx1\nivCLBUDP+xkVqZSRrVb9lBTRfOou9vFLg6Ulm9NaNAk5Bgryco+iikUdilvd\n99fp\r\n=hKir\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH51gR1j2R+Z+dlTlg/9QSWKEJyfkfv9YLdIS/u+jQFRAiBVs/dJrbh603FeX2sOAcwQcOzuZItaTHouDFhqqoDKww=="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_1.2.1_1591117361560_0.17374311587785574"},"_hasShrinkwrap":false},"2.0.0":{"name":"playwright-testing-library","version":"2.0.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"test":"yarn test:lint && yarn test:unit","test:unit":"jest","test:lint":"lint -t typescript './lib/**/*.ts'","clean":"rm -fR dist/","rebuild":"yarn clean && yarn build","prepublishOnly":"yarn rebuild && generate-export-aliases","build":"yarn build:ts && yarn build:rollup","build:ts":"tsc","build:rollup":"rollup -c rollup.config.js","ci-after-success":"hover-scripts ci-after-success"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"tslint":{"rules":{"increment-decrement":false,"no-unsafe-any":false,"ban-ts-ignore":{"severity":"warning"},"function-constructor":{"severity":"warning"},"strict-comparisons":{"severity":"warning"},"match-default-export-name":{"severity":"warning"}}},"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.0.2","@patrickhulce/lint":"^2.1.3","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^25.1.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.2.0","rollup":"^2.0.3","ts-jest":"^25.2.1","tslint":"^6.0.0","typescript":"^3.8.3"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":"^10 || ^12 || ^13 || ^14"},"gitHead":"4b7e9687376abd2e802b39fe5a330e2987111911","_id":"playwright-testing-library@2.0.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-51n1olEsCe6u8xnxdIL6/+gwRKW63fQtOEtg4GJEkdTDd0Facx3HXZG60cydhJDJjXOS98NsjWrpLVtzmAEwlQ==","shasum":"9bbf7d9ffb408fc19bba4c06223f0d8fd0ae1e10","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.0.0.tgz","fileCount":24,"unpackedSize":506600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBli9CRA9TVsSAnZWagAAQS4P/AhQgke2PUNAPGumGdMj\n8xc/yG3FUNxaoSNo3RjvxEa+U3C0P3c3zxA3Ek5VjRgq6xGiESSV0TAgxiGk\nEY+FBrsMd5d5pUH/iPDU82qiOR/r7l5Wxi2A2aaDQT61wxl3af3dxsESrpAt\ntHPwxKGX6aHamZKyr1Oj5YZgHf1ZDb82RtgpHAGJHCJceOLJMuN0WZ8rjDUF\ngw8Wpqy5/M5uSscTexlpng9XAezHrjJBG3XwOj0o8IC6c6Mspei/JcaK0S4f\nIYwLXASXMJ+W/LkzkDrh/SCBr9f8v6J/Zn5Yz2swKwCvX+Mwr4r+BIZKmUd7\nrXg38Ex98A3VddBOHAFU8DoAYgeShY725yom2R8VHyX8MJfhZFRHXKKzpDqw\nXEC+ZkMH1WP3swVO/ISIqt11ikFHIeMgbL1z5bi0j4j2SRLlSd1nonJp/qL2\nhofbk8xVQwHIWtbWGBvgOw2zOGyVHQcFFPx0aub58S14s8F+i1P881G7FbqI\n4whRvLt4D0dAL5zGnR1kmOLIWdsOM5yRjVT6rgFjfHuO0TZY4UrO/GDz86fi\nf62XBiahvWcu28b2fyJFl33hdMgRIC9/+QqqnspmH7QdKnNWFumxpqIHUcco\n3FC6jdwVAi+S28ZJm+TrQeH81QKBjeJSGmuIEEbCDhRhNWpqQjakAnAoMo9P\nThBN\r\n=nyMa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHoFUtwR7JyrDyzZ7KfamJOjzkBfUx5kq8akMJJ2tBqYAiEAkREtifH7Q8aR4vyXjePp80WghX6iEzdudzaCJPtSKOY="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.0.0_1594251452685_0.32871081772978505"},"_hasShrinkwrap":false},"2.1.0":{"name":"playwright-testing-library","version":"2.1.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"test":"yarn test:lint && yarn test:unit","test:unit":"jest","test:lint":"lint -t typescript './lib/**/*.ts'","clean":"rm -fR dist/","rebuild":"yarn clean && yarn build","prepublishOnly":"yarn rebuild && generate-export-aliases","build":"yarn build:ts && yarn build:rollup","build:ts":"tsc","build:rollup":"rollup -c rollup.config.js","ci-after-success":"hover-scripts ci-after-success"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"tslint":{"rules":{"increment-decrement":false,"no-unsafe-any":false,"ban-ts-ignore":{"severity":"warning"},"function-constructor":{"severity":"warning"},"strict-comparisons":{"severity":"warning"},"match-default-export-name":{"severity":"warning"}}},"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.0.2","@patrickhulce/lint":"^2.1.3","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.2.0","rollup":"^2.0.3","ts-jest":"^25.2.1","tslint":"^6.0.0","typescript":"^3.8.3"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":"^10 || ^12 || ^13 || ^14"},"gitHead":"f27e83331c1faa032cc7b60a30a32391c42fa9a9","_id":"playwright-testing-library@2.1.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-P1KSXtaqQ5oL70frOfnssut3RWE2X4MYke8YkDcWBnpXbc7w6cn85hcvfQl73/NhaQFo74D44EGhJtQ2I2vkLQ==","shasum":"6dcfb673b6a84c83cf6017e95c1528fcb22c6e50","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.1.0.tgz","fileCount":24,"unpackedSize":539688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB6DSCRA9TVsSAnZWagAAah4P/2V5PHsGcUswgz7cUrCr\nE5l3e/zJX+jlEmLFHq161j2nu72i0ENpVSUWFAgoxDvWNvrBuOAVKQOuAUMR\ntPAMfhqDD48rOuQKQQ7EqQ90Oy+twVboBMG2mo3NsN5SfC9/b5gGuikRnTyg\nppoa2NrrR0+z0Ettq0bwxS85/pKU1ic3djHK+K5nQP9FtGr3YZixz2lI4RLf\nzCIC9PMRD+jTmITjrMK+qkrgk37PZMGIIRG9tuRAD+5WtjicvB6y/aTsY2OB\nSD/RNXdwLt6YK6726L3LGln2RipGidXy7la8ColNygBem/BfwJ2CwKTcPvRA\nWxT+DBUtz289tw+uykpaapSygRjJSEbfC3WYL3IaE64BfiU7/bKuTILZHWOr\neGn/xlTaOFtJ7P9iP9+iWYHrB9I8yZbaJ0C1yTCzoe62VIgt+ktwomZflqVC\nyvMIUOlXHG4XC+5pSmVLXYTZLUu9+yAusx13KXMZtk+BmmG6PaPXRmUMRxB5\nFp1cOeSRRunVRg4sk1hcHDfeLNDf7tebkHz7HSCCEg7iSyVfdRtXGUZ4DOUa\n0EJC5GT+tLUimcdKFrbvaxQyyL1fPMjTrDVsMRcSs3U5HUtevTxKKkvbKHwA\nLxO8sNWdVx3foQawHHIbXvSIvXuiJjrlBE9XmN4XeDP9jVvmcVV06qmE6oG8\nizD7\r\n=twjv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEbBjWYt9BueCust+YbqIwY95sIKii/1hf5SKx0P/Y1QIgC8e/Ky2g6ryQE8pASzZ8JUe8Ls9V6BK9cHdpxjc7vmc="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.1.0_1594335442334_0.4435449896197561"},"_hasShrinkwrap":false},"2.2.0":{"name":"playwright-testing-library","version":"2.2.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.4.0","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.2.1","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":"^10 || ^12 || ^13 || ^14"},"gitHead":"ab87c71ab131082ebfefce00d2549c0da96d148d","_id":"playwright-testing-library@2.2.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-imhSLjT//fwONNrGEiQkrtBOQvLTMP236S1RZnsm5p1iXaiP87qmGWfUpW5Tdx+9d4nyNSf4PzTiem9vLQ4Zyw==","shasum":"53dfe529cf93d97e84500373b39715c575f9579f","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.2.0.tgz","fileCount":31,"unpackedSize":559039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIxTHCRA9TVsSAnZWagAAIS8P/3bltEFpI8k6TacKwed2\nelrEuQL4rlBgsDVtl55zSEbZ/DEjf7hsj6sJHOu/ikSOLtpl0uEzr1n03KFi\nXNI9cYT+FxYDrUWvtxl34qKacCkvRuiK28dGa0hdXP4FBF5DKlIjgwAa2e5W\nVeE3clr89dBLRpjbIxIIXB/6/nOZLhUpsp5JeaUj/1Z4lWTwxYxwNvQacKW4\nf32xuyMfSEMoX1BM3Tf8roek/hpozES9Ksng9mj1p+tBj0g5w/OmCHKEjhox\nCxnF/pKLSsiYdVtm9E6qCldT6nVlMzLHlMD6Pq7Sht9Ujq+5ccK4IKvqwl8H\nFOZ0y/1m2S09WNcJc0vb7HzPjT/G5rNKb0H/RGvok5E5eMFAUvQBs3+qVpjy\nOOpl+7BfOkCwRMAd60frUcmKIThv1ovvgbVI9Wy7HFH60XVvJqMrTkHSBA+I\nf+5Ab81dFDWUeQ0E6uZXDe1lu0wqGdkGmbIXoKNcNCUoCSzFIQmdZikSHkyU\nh4slT/s15XBjB4ABqMIt9yZWUMQVedWjGtTpQXY8WeeP0YnG5Ec4gs+QWhiU\nAuZSBAIK6SXBVrG+z7x8oGCH2PI/3fpAXFuqFBtQdnBNrlofTJF7LKOeeBMo\nbOcT8nXn0B7GcDLlFhQqKkgQUaMdbzLWNOVCCwZzkVCBFeq5uBTLhIZa0C56\nYf1d\r\n=Q83V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOSsvU2d/LDMIIyMaTpXrdVbQTgVth6nx/0N4ITJErmAIhAM9UqStixQra8oUQNQnyQHVwuEtgAWQsn9Pd4BjIMIT1"}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.2.0_1596134599549_0.9994030254902313"},"_hasShrinkwrap":false},"2.3.0":{"name":"playwright-testing-library","version":"2.3.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.4.0","@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.3.0","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=10"},"gitHead":"0ffd41416526b47600e7180d5bc028ce887464e0","_id":"playwright-testing-library@2.3.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-73Ex2YJTd8h3elGGQsPzvNwUXYwcLKG3COQmpq8GEe9dStGDOO+9Q0Rces3UpJlOZyaIWAq1Zzxf+fnruV04Kg==","shasum":"d0fed9846522c097e4555166b06c521b13660de0","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.3.0.tgz","fileCount":33,"unpackedSize":562060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNwx8CRA9TVsSAnZWagAAWY0P/2uh1DrVC4HStGRrx2uE\nN0jMw1mWaIviDuYCm4jq4xn4gl3D0VvvRRuJpUIMC6oGeUrBPza88Yy6v4zw\nOJ8p+LLeGw93oIQW5xCRwaQ8H9KMhTQXCzZz7AOPwGHhTh1Ug7DFWw0I+Owg\n3ys0894qZRrPRsKBGtipSln5gcrlsZsIxpoZgVIyDvWwpJhpk47jlMFyb3vE\n4tmcQgox6OWL3gUsZUyN19R2NcXSmAyXyCxadG6+xMiwbtPj8iZK63zF59kx\nC5t+Y/E80p7n30Cc+0cEMH5P/ydedbt4goEom2gruNWrd0f+/6QuMWYHZTX/\n7qxh5Y8lcQYjwt5tq2qlnUDfvrPEOIaI2iL3JUJKdJbZCUnpxOvzaBVGzjjH\ncPHU0pHnRtPwCw/1c4NL2m/kE9jPS7SGW8e6i3TX/+k1hTURQy8jrnDkPak8\nzKmU9cLHkaMhEYwNCAgDaF1oFyEqi29612v+1IgeP1EflpJqlgkQLa0Qynt4\nxreGxpGCSVABC7dsqh1DdKZumr2INgP806CTqkbBMVzkLvQl7y0p/7kbCMqo\njLrfatxURwWhJAGu7rN3JZXwiJ3epjvfmA/+SQbkDMkYfp7vEkHB4ULo+czG\n1YW1umJtyIbN1fmJyH/WLydN1AMrgxg7LuusKuKVECGC2cwr1CtsP4M4Nhlu\nh7wW\r\n=Ogh7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICK47CPVIZ7HQPW5yxXPMSbgvOcTkZy7alHpaqaN6kjDAiEArxBgKOU+h+IYlYytB9+hOrVftxL4zGHRP8bs23AHCeo="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.3.0_1597443195944_0.7956944145069227"},"_hasShrinkwrap":false},"2.4.0":{"name":"playwright-testing-library","version":"2.4.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.0.4","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.4.0","@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.3.0","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=10"},"gitHead":"7c16edb9cdb34c3e4603f3a8d3bfb7d9b9384a74","_id":"playwright-testing-library@2.4.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-Svo/tl42oHRTnVQDrgCfGjNzZ53UC71v5ZXlOG2aNaJqgvhVrPyQWwOr4EXOpw+hJhV7+Zw5d7AscTUuay1Qdg==","shasum":"57be5ae4f72b1eacbcc816ae810b59ab5aff9cbc","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.4.0.tgz","fileCount":33,"unpackedSize":566097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNw7wCRA9TVsSAnZWagAAHo8P/2HBf4/k5l0TXwZyusJp\nPMaTZ7oA4ldJ5AzHV/2YNUds8lGMxPIcDuuSpk/tNipzvIdv19fBTgrbYOQn\nrn2CGFDeuTc30giloFybk8w542nVy/wMKb91a4KKxPtanDG17SYfEvcS/kbE\nwLEpJ5AAq380TMDbNqIfdqicjaEim/MmcqeXcf2H5JzPx1Rsxw6y9XEnuFBj\nF00YYo01PjIT6nuZLcoOdWzEDj5ZbWL3ZP319bp8jZb6bNYQiqmiPZsqjA6M\nc19MxJFazZfIIw624dTj/aCR0iOP0usQHV+99FEEpGgZnmB/R9L4Zp4hyN4/\ncoS5UULqhN914Z8xq/tlZWCNPYkTL2yEOTA89vrcA7HFQxwIpSD4TnqxKo+e\nkqrMh6qqajlqymmvxQGwLy+DZ8o1+5rr2FPda0gN7oslFAkR1Pk9vTWBOgn4\ncDkFxK38+jonoNjNdZSuhKTO9MW3OJAMKP2mG3jFQ2TyHB8MJmZ+oPMHmLQs\ni1whOtkJFK5zRgQzIBMrvV4uZoRZ3d0HB6ULKm4NSCL0Dhf1Wj3uveNa2I6u\nKRtzHUk6442+WFZ5GXfuK3WbLP5x6lZaaRrpX6rG3iYhCljDQyHFe8O8o1xv\nAevF/HyCWKDjR9P89mjVyuUeWsiiTRwUMXI+G6WF5gRiucz8n+WRtFjKIicd\nf9kK\r\n=Peha\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcZyAehtI4nOriKjcu8fvGCTJb3T4w1b3O2COH4mlY/AiAwX2HMlZYgmcmQn7FWwia1Y5bu+8Z85HXMctmZ2Mjovw=="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.4.0_1597443823803_0.793546252035737"},"_hasShrinkwrap":false},"2.5.0":{"name":"playwright-testing-library","version":"2.5.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.17.0","@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^9.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.3.0","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=10"},"gitHead":"f404cb05f7f19ffd5861b33dc8350ec31658988b","_id":"playwright-testing-library@2.5.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-T0IHkE3z8efuG6e/wBpdfJT3zHvjXNzqlwRTK9JVVUMrVj+KzFOEC8CPiwmprSw+PTKSP+jjrzbYCjn1WrF2Jg==","shasum":"73abbcf7c8c5dc076e5fde2d61547aaf16374dd7","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.5.0.tgz","fileCount":29,"unpackedSize":563962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPGV+CRA9TVsSAnZWagAAK+wP/19gWnghaqfs3q1r27Px\nWJHLTqSYynYhp3JKze+FWyZdKfM/VACUHpwu1N1u0HisJpIU6bBkX4oVgZue\n9hdsCQxvkvZGcvh5lWCGiTIVr7Ws4mkcKdIN1FiTAyv7YLJZAzVRx5fElbtN\nH3Fl8EwkLnNu2e33qz7HxQ9new8SNOmvIFtRa+3t+7Y+gQsH2Cn8RY7SKShO\nQej2/qWovWd8oCnl4d2FB71qRL9Yc9PNHereM1XI0jiJmCq7m07WbhQoj1yi\n4UMQDMgCwW77YLuejjqC0Sslcu/TopTU5zTD/Ph2fswyqdkrXvO8xOxPKz01\nTHsz21of/yW885Z+KY7BUA/soYIPlKOu6gP2f+qGwzKte98MVVlEqSFl6mMI\ngqoZhsJVQP1CAuAL89SLZs5dyGPqVVaDhIG0+2LoBBnQ45w7Iq5DGPZfvchZ\nzX6N5yuUci6qrZb7MBTQBZtZGCo4G3RUNGigf/94d4kba5WpfgudVMHUaOIS\n/x2BVl0LN7m0fdM7pI6kFp4m4yegR5pqrHYyB2ZNBm1o/P5Vo/wsAvJ9JbXB\nrR9SKby6SEmS2PXSktCHQVzB763onTBsFEBlL3k7DtLGzlhGwcMSLBu2buXt\nbDipxYG2xm3VS3ADUQ9qkx+Oo1iXcSppbMZB2FTUMZ3HeNQjIedOzAL25CqP\nuNAB\r\n=12Ec\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlEy9knf59Tqrlo1OQ3upjqbn959Z8TCZO/LRcGi6QLAiA+e29jKXkKqgn6oGvvd1JoNASxnKDTNfE5lH3/zisGGg=="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.5.0_1597793662287_0.37278048115379203"},"_hasShrinkwrap":false},"2.6.0":{"name":"playwright-testing-library","version":"2.6.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.17.0","@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^9.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.3.0","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=10"},"gitHead":"a5f5c37ebeae37dbe3d05be4edc13b24109f2fb8","_id":"playwright-testing-library@2.6.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-u0YT5wAk1vTuC1Q9mfiEX3Dh/WgY3omlZIgzXm6no8WcvAlXzZcmdvTe7d1b0+/HmtUB9ggSMLg5+kdD4wrQzQ==","shasum":"4859a1426ba3c95306ef5030d44ce111d758f266","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.6.0.tgz","fileCount":29,"unpackedSize":566632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTtUcCRA9TVsSAnZWagAADm8P/ia+6w/m3rb6YBoz4pud\nm+PJX703Mwt6cIR+AfRvKUH/CogiFxg06ypTS+0vTx+e6dUZMXbuPhcPoLGH\naGxXWH6hixbTcEe9V3RMrAQ+uz2b7zff3mvT5bBnJY5uDYt3r/xvOMMpYi1O\nkEQWkYQINLsJ9GilbToHGXzjczFoN2Y+kGdJSCga00crxSQuLxJEUcA8ojaK\nV/oiMwBzLy3roe0TsgygakG9LDAuOr3NOuEq1bmI7eqCoZyonLNLdMRhBspt\nOyRAr1bf1V4vBWm5HAbaiax4EzM+W37k2UgcUQqUrIMy6gM63u/UK349KwMs\nDBO6w+g4X6h6AUshr9km72T2nyYFjmsAc6B1qSDylMt29C6Zl4LyVHZt8+5W\nj2fNghFlHG1LO4GtBu1VA/8VyqvHd8U4YdKVVIaEHUVAcD+GpP8qlK1sik+D\nCY+6C0Ctz9Y4ihA3FcrqVHiurXzb8wV2AWF7kCdLjdxa10TcTkq+V6KYBEA9\nvzC47Yykk3wgYb9uCj1hXuX4x5nRsWvMXdQyTw4aLQacTOfhb0KXznAxDC2S\nf3D/JMWe+HbS17Y7v3ZIpiWlwzotONm3+nXYT7H84qI8U+9DIXOMRQye7cR9\ntzJZYJLa6BoxolQgZivZE+I2wMsQgC0rNqTb7a2ZEypzwkumz1pjtnJ+ja+c\nSnUD\r\n=B7VM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDA8tlEDeBAguykm22HbLgnBu6kt0PBzosLfSn1bIRpiAiEAttj1GW0Eu6+3ogGiOasOzneq6uRTaQLm9h4UBbPjKCA="}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.6.0_1599001883875_0.40653742407715976"},"_hasShrinkwrap":false},"2.7.0":{"name":"playwright-testing-library","version":"2.7.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.17.0","@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^9.0.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.4.2","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=10"},"gitHead":"d4333ebfe1701e5f690562a46b21f0dbaa86acfe","_id":"playwright-testing-library@2.7.0","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-AZ1oMFForckK05IBAMHD4ffa85+qUP4IwG6RYBzwkBcIVUkRAHNWabFeMTXnFIeUDMETtmUqoIaLBcaVIgYFZg==","shasum":"85ac2c45323d65170c71098db5748721a5b38022","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.7.0.tgz","fileCount":29,"unpackedSize":567048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffRTDCRA9TVsSAnZWagAAlW0QAItH03+REwMzfQvhZKTm\ng7pSHLd0vs+vsOUE8I07NJ1oOWNGcAlNjRq/AT1ot4bSqj+6YtG6A8SmlDX5\n3Us8R9NSscASMq17YWoFqH7ix8cionv22usciQusP0dJO3nUt/qNgkPL/QCk\nNEjc19RSpfBQ0Q+m6tM7k2J9NvwJa4QsXnd5WIgN7JL+D3etAhX6mUeYhfWr\n04VY8zaODl4xruu3jC8pLE32NGO63DCeMSvvyQ123gsJhFb63J6W2WyewVsK\nJ0gbCVnWsoNWkvHtPmk0aJzAcsQPfG8xd06osc5oK28IF6NOeJDRwc21azQx\ndzlU9fh8OZbU6GaIQcWW8cwp2fB8V7noH9oxCcGlUUbK3SWKEaD/WJ40GYoP\nWNYlhJMBIIzCiLBezsQFadvOy2vWjlwnCrrFwa6KHco51H2lmoLEsV2K4IAx\nkvZbof7EfbdMtTN+W5TEaPzX5vT4fLa1FoF2n0T6J5IOeMyelw4zzFhVhdbM\n2UqAzyQVwFbXD2UADYX6Gd4+jfObKkjaMbeJfz8kudDb2QLmnAEvG65ShgAl\n0rdFL8h8vu3WTBsgrFIvfscqeKMAXUQ7WtFDsnQA1MjIjiByKRC33swQtOqO\nzVrHdP0iW/NhRi/4/rnyCP+zBI5nelkf7L5XswYFsHfV1jL2fJHbEaaCmXHO\n7dB8\r\n=SeQm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0HX5vNxIUCrjNNIUI2eKuLa+1NMjGrJed4zSXasiRMAIhANpScUMYi4YP3j7la4bkTkUNCosOqr7ZUzqvnVkfC2tA"}]},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.7.0_1602032834899_0.23858394012276918"},"_hasShrinkwrap":false},"2.7.1":{"name":"playwright-testing-library","version":"2.7.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.17.0","@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^11.2.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"^1.9.1","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=10"},"gitHead":"f4f175b7f7f68f2f1d19a0a25b64f82b1c6b6e6f","_id":"playwright-testing-library@2.7.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-fq3/Ej1kaTwl33XDCYW/2abt89NLPfS5PGec2NN+/c9qUb3AFleAuyfOqApTNFMwrFotjI+k1Nfb1UGBx1pJVw==","shasum":"2cdf9bf1ff2e94bec949056bef31ed97a408b4c2","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.7.1.tgz","fileCount":29,"unpackedSize":567780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQsmRCRA9TVsSAnZWagAAZuUP/3APmjHdcaPAfHpboD8L\nBpV4Qi/3WAYxeK+5VV7jhLRxaxdEfVVOSeqnhGcJAfJdGATLu0EnUE8td2Oy\n25lVhz1Kvz/6ugu4C4geXB2lhZwGuj/M2ynSQ7lDR/D/oYsKiTXS4SIXlvIL\nwH9D4KnwiHUQnxWBKMwT6UwxQCxp2W9pGj+qOh7KUl0bKrqcPkkrKbaDwBgv\nq/5DhYuVnqp9Uovqjo5Wb7i+5XTzOmaThad2nkuxE9yLDuGBE6nh9VmstK7Z\n9sSzmU6NAKlNT9Ap1Tr6Kwl2cvrAue3/8hnRi8Pu8S/zJg/v5CpdX6+X8/0J\nQN7p+jqE+m77697GTYo4QFnmnkIOO++G3IYHz6j373M4KILl2pFphK4r5h9L\nWMbBqVAG8jm/4VruHVMM4pmyvSaKCmARSU4iYmb04ntCOfhLnGIR6hl3BwzR\nnDYyqK+VrRH/OwMKGBYQr/oKFaWLOfu6eXUXrQJzG1rcvQC9rsM5Fw2x9iAU\nQSqb0AjGVMrlL5A/0QHOho8PdrS0inX84GGz4Ot7DFQ7Om4HRGlyCb30bJc1\nCOlgKNV1TgHNzeq6j0fgB1HCWhnIn0mUaT+AF/oIxgz5+CknxYgS2q3bp01W\nADhuBiPu3WcEVagHvixTf248uTqxIdiyTytGO0vJci9swkPM7zmXoI4pKWLV\nBIub\r\n=RJ7a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCz6UcNsQp5fQ7GYXXygLGht1hWXQst9YicyfqQwqoqOAIhAI52BI6X6ZvUzCQgH2dQFr/fiiPUK7RUiuH5q8sII+FB"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.7.1_1614989713272_0.5236085053690409"},"_hasShrinkwrap":false},"2.7.2":{"name":"playwright-testing-library","version":"2.7.2","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^4.17.0","@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^11.2.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","jest":"^25.1.0","playwright":"1.1.0","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=10"},"gitHead":"b98d0157f824087099cc0f3ee694664991a14d1f","_id":"playwright-testing-library@2.7.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-encp7MQTrshDPb6eh3iQbn8Fqas+grsAa46TZ4VGRzjbAAJzW5NQKUus2fx8jak2eQznJYrl+7ifTy6esBGnBQ==","shasum":"ea7d6e1e4e297830981f3b9dc9c46fe31a5886d6","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-2.7.2.tgz","fileCount":29,"unpackedSize":567588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSAt5CRA9TVsSAnZWagAA+OwQAJwEbRJryN+1Um3rbu37\n3MelrWlO/f63ZcZJRA7tmDwdpFCVaCCpN93LL1gFol8tz7rC0gJJRISjlzMd\nUhKucy/JnqZSzNpVuqf6sc6mVCjBhxXjBpWqytUaiBJIaokmc2eTEfJLuQVk\nUlbc0Moe1/KVo6gPptjA8dYeuoiXkwDvJPl2Xw+i15vhspEEkRFvJK4So2yt\nicGZ2RdSLBTgeG3eH65C1rNAwrqQdPswihTn0cGq3iYn+Le29EtZ2OkJ3V38\nVI7I5LiOfFM4xuv5jqvMXhUoB9Y5MVcgEvAjtURh83/CJ1KNpXvh4REYUFJe\nLBlDWlszBkH4A1L/I67TB+6PmdI5hWMGUqS2bPu2k7+2EMJi2CmRPF06o3om\nZ0dZd+sYIHFPj9iCH3kSarM5Qa3ScCQk0WbAMsmwvD/jN+gkwq0nyiAacAFV\ngKvtPVUI/k1IIBTOaKwb+DnxO8EdsVQ07IMrhxE9Sril5r0hAUdhFnqfGjLH\nEok4OtoKKlT9NhxtS/kKkJRfIHi/skehw8wb1g8iEoMET199k2LUfan1Vz7X\nteOh7WWLg9WB9qvUU9bdrg1XAe5TIKn7b9/j+vK6JDWGpyUtREtrt7nkOtxV\nNexghfueJE8Y2j+H6SGo62GbriFa3Tgzdcn+rGsiOWT2s9Y0PiKRy+5x0LMj\n9ZbW\r\n=5M7H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3I9OyT+YHElhkA9z3DGJmb/zugQGQD3iiLR9I7Fq5kwIhAJ75DGsiqF0/E1t4cQD3imfSLWAe+OKWyVM40xG8/b0f"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_2.7.2_1615334265379_0.44693143018840953"},"_hasShrinkwrap":false},"3.0.0":{"name":"playwright-testing-library","version":"3.0.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:ts && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:ts":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'"},"husky":{"hooks":{"pre-commit":"hover-scripts pre-commit","commit-msg":"hover-scripts commit-msg"}},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^5.33.0","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^11.2.0","@rollup/plugin-replace":"^2.3.1","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","husky":"^4.3.8","jest":"^25.1.0","playwright":"^1.11.1","rollup":"^2.0.3","ts-jest":"^25.2.1","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=12"},"gitHead":"51bd5b202311ab57b848a0e305f324d1e45c22b0","_id":"playwright-testing-library@3.0.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-D4jR2ccwBcYwELQdO8Qh49haFxxgRRyRrgsGR8PnKE0vhSAf388GUrsGhIHhY4VNaKfuyeuIJnlqxqfHqpe9yA==","shasum":"e2e0690ff8dd7500b4ab57fd4f11db944d26d8bd","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-3.0.0.tgz","fileCount":29,"unpackedSize":593283,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqa3VCRA9TVsSAnZWagAAMUgQAJ+5jxya0h/3VoJeQk1v\nwimzhin3lmt+cvrPOGaJzQzkNqzCg8UGMDg6ivvNi7Jtci0s/XYLWqBDPZUw\n+xV48JtXshTQFxY4D+FQ2SzRN6J6ofuOcyCsxDzxPAP311g1FAvU8iE+P0fp\ntrdg1vgho/KtA5NtkN9Bf6hkiOT/t2eoH4wr3NULCvOQsWUKlaHf5yvaEE6k\n2Xo3T9wwB+2vCqctomymK/4t1OHKI+CUPmfVYoLgyiXTP9UWUgyz05HlO350\nAHTABhVBGwW4UZlny7GsaFef0/V+kzGMig8KTtzGCD3C8ScuBQETev/esbdR\nc4PQB4ORO4hr2Djjc3H/fB+bgSz1IS5din+nNEyi9XM/zHkekWmScCe6Xz/j\nLOtCm8TAPcdlIj4YR394spgqHZMnzWrKBIcQJXkAZfILfDfV/m2ne6mP1e5C\npfkF1DgPFmVommx2tRacUV3TSDKz+E//wALFyShvIMb+8UivoiOIVfABwJCX\nF/P1kkHdA3ldkBE0vFuAWVVIf3UTjW7rXC1vR3CInRa/03KHYhqNRltuc3vT\nHkX5bqqOL62aF9aF36c0rHIv6xbbIamtNvwajYlIVJXD4bKIU991vAwNzxfr\nDhImb9mJDHEP9ppn9SLlzOnuvrTVZ2XVLcfOrmAIpLEOiE1JBBS4SFjwVT/T\nBICN\r\n=baaS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK42hicC1A59qivVPhitUSxk2k3tDLk31I6mKShIqnVgIgMj+bYZPknu2mR76I7kaVlvAcZDMVZ3hEXLDp2IXzTwM="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_3.0.0_1621732821317_0.9793275859513961"},"_hasShrinkwrap":false},"3.0.1":{"name":"playwright-testing-library","version":"3.0.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"yarn build:types && yarn build:rollup","build:rollup":"rollup -c rollup.config.js","build:types":"tsc","ci-after-success":"hover-scripts ci-after-success","clean":"rm -fR dist/","lint":"hover-scripts lint","prepublishOnly":"yarn rebuild && generate-export-aliases","rebuild":"yarn clean && yarn build","test":"hover-scripts test","validate":"hover-scripts validate 'lint,test --coverage --runInBand --verbose'","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"extend":"./dist/extend"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.16.0","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^26.0.4","generate-export-aliases":"^1.1.0","husky":"^7.0.2","playwright":"1.1.0","rollup":"^2.0.3","setimmediate":"^1.0.5","ts-jest":"^27.0.3","typescript":"^3.9.6"},"peerDependencies":{"playwright":"^1.1.0"},"engines":{"node":">=12"},"gitHead":"d4abf4d53498d5ab3d45fb849c08579a094038d9","_id":"playwright-testing-library@3.0.1","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Dl7R+Sj2VuWygrNLqRP0OR/qDQm/3iWJJvlz2sBU1Rj/B1f3nVv3ayuuRdhpOZ+neFukXQ44Mpi5VXJk35xpZg==","shasum":"7f9009aae948d7a08274206dc2d8c50871760e72","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-3.0.1.tgz","fileCount":33,"unpackedSize":597019,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzfZ/LsiwHljE7Ln4N6u6UZUf7vaYo8ZR0JVl4/7l4AwIgNa8TG0gEbbif+wuYkWS5l5sNLEoJThm6zZsJFejVlNc="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_3.0.1_1633112868397_0.5145435551108466"},"_hasShrinkwrap":false},"4.0.0":{"name":"playwright-testing-library","version":"4.0.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"e1c2d02e364c461224814a745317de8c98a70e33","_id":"playwright-testing-library@4.0.0","_nodeVersion":"14.18.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-gaqQGpMuUlp+bLDW12/CjewU5XDboyrQY4aHpuMlYB42GN/T8EYjDXcYpDq3gj9nAmOad6gYBxoLaG3bxyoVAw==","shasum":"ee5984e9e7b0d9242f7c1a778f44a4a144edf410","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0.tgz","fileCount":34,"unpackedSize":598002,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTU78GV+HPnGnFiY51v7Std5bGf+/BoAZFgb566OnbbAiEAyrdG8+IPYWPoa5hZNEv137eNBI1KkQs6ISpBdyzjRIM="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0_1633251908831_0.031289247617710236"},"_hasShrinkwrap":false},"4.0.0-beta.1":{"name":"playwright-testing-library","version":"4.0.0-beta.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"c0a3c29d4c2ef4b2ccee01eb0f6a458c3eb98c36","_id":"playwright-testing-library@4.0.0-beta.1","_nodeVersion":"14.18.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-HCpWZtyF5gm99E/Jn1hVt1PKK2C0ftcaUkV+Hx7nSaoLel/7l8AV1USzDmoDqmujatHsydZFo2PYIgbUrfU78A==","shasum":"86d26fcb6cf4c3660bbd8e33b6a46945df524569","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.1.tgz","fileCount":34,"unpackedSize":598053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNya8ZswNq15Q9Csfft9yOvoQdvv18VhKoX1L45aCLBAiEA3ti2lRaCAf5dBOEpgtstN7Axyo3T+aQpih+s3+cKpyw="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.1_1633286184231_0.9673369787831776"},"_hasShrinkwrap":false},"4.0.0-beta.2":{"name":"playwright-testing-library","version":"4.0.0-beta.2","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"7e332d819cce8a9dbbd065a3ecdb5b1a9409e835","_id":"playwright-testing-library@4.0.0-beta.2","_nodeVersion":"14.18.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-oZItPCdZbJ1vT8Yd+HwuI2ipugdvNp2YnXRHMzMiHo2QqjZYRU2DnLsm5NGDYvNVY98oluen/jRn/sPsXW++JA==","shasum":"c46670feea23830775a89f146ecf526888205275","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.2.tgz","fileCount":34,"unpackedSize":597996,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDliemDvOY+XPSKpnYpwcqNhOTp20XhNYtzQazMkW6ltAIgHbUi1ErD3lhR7/fEVahzMDvyryDkzpPKqI0aUAo9KIk="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.2_1633286599980_0.7896225745298948"},"_hasShrinkwrap":false},"4.0.0-beta.3":{"name":"playwright-testing-library","version":"4.0.0-beta.3","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"0811133074eec526b1656020441a3b1a1c8f78f2","_id":"playwright-testing-library@4.0.0-beta.3","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-Qu9XnqJ/ywLVMwGycSi9bfYRKpeJXep4aOTOImgBhM+z1QyCGwfckk/VaE+KcfeTbIXG4mVmv28609GrRv15hg==","shasum":"359d4a7a68c14aee564b7db788af1d426a5a0a2d","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.3.tgz","fileCount":36,"unpackedSize":599090,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyUlD7OgSs2qLuHGCy16iSMH4XMfLKK5wn8DJ1jXWydAIhAJ696/X8ifhOCX0kg1X5B3ligQp5OPOQ61qI7zWyghOx"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.3_1633374426148_0.04549261508265845"},"_hasShrinkwrap":false},"4.0.0-beta.4":{"name":"playwright-testing-library","version":"4.0.0-beta.4","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"bd130e257a0d47b6b1845550ea18dd5915a58cbf","_id":"playwright-testing-library@4.0.0-beta.4","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-b2lUuLpPkHinjtokzSsShSTFObrAhDR/ORGFIDIF4qS76MppaHdWtVV6Ju2oqnf76DjzG4i5vmJiIOZLWlF4SA==","shasum":"1897dbb2063edd17612eca372f21c059b8f98cc6","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.4.tgz","fileCount":36,"unpackedSize":599001,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG70Ogk7OkbdQyWbwf26sNkzZeYfjgGlIwnMeG3PAr8HAiEA/zAe5ym2Wl7J63ZaPKcAZd6zsDaBPT3nKsAlfLUGro4="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.4_1633374874666_0.7732437759299282"},"_hasShrinkwrap":false},"4.0.0-beta.5":{"name":"playwright-testing-library","version":"4.0.0-beta.5","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"51ecc938292819fdf462dec3e3d6e03b89cf7469","_id":"playwright-testing-library@4.0.0-beta.5","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-qcN85to4Hkr0wNgvb9d61SLAVFWEk142yvbVB1kUboCPIr3aU8+2ieF2K4UTiH8UXZ0zgVnt4suBLNp5qVTrVg==","shasum":"416084aa053fc9774afa4aab52248818217c393a","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.5.tgz","fileCount":36,"unpackedSize":599123,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8G6pEu9jGLEdL6qlYZh85iQ/Vj8w/RKUGmrl+eaBVAAiBcg1qgcHJIiIWbDAf31hLK/zMHxu5Q5sYqlcdQADriAA=="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.5_1633375856630_0.09480328675973992"},"_hasShrinkwrap":false},"4.0.0-beta.6":{"name":"playwright-testing-library","version":"4.0.0-beta.6","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"a365dcd1ff771e4ce4f0acc4c866cd168a08bd17","_id":"playwright-testing-library@4.0.0-beta.6","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-qH5rcTlPBqL2QG2UB3HS1W6cjvSHtN2PDRyW68Jef/BduPddUnCoSh3GVPQSfTeBKZbW/gXyWMjG15pr3d9GHw==","shasum":"c88790b8061d816a848abc2ba880103bb69ccc76","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.6.tgz","fileCount":36,"unpackedSize":599226,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIQFttPblzb5nf10HL4o/KRYlMalYbQqvN2L02SjCDHAiAUD5p0MYJOiR2KQrGaDUqmnW9mdmdMT3rtW1DUU/CHtA=="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.6_1633376514368_0.821978992743368"},"_hasShrinkwrap":false},"4.0.0-beta.7":{"name":"playwright-testing-library","version":"4.0.0-beta.7","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"4329ce47aab45247e8456b3e760d094cb2c9aca5","_id":"playwright-testing-library@4.0.0-beta.7","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-L3fI77mxam/duBLnWleYkuWCJUR4F2En3kluoA1bjl610jqHewSVnRaygVUelT7nMfvY4ANOeZdU7LsXV5PcwA==","shasum":"261dd3d5abfbaa5ba033ee10382c47e76fac0b18","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.7.tgz","fileCount":36,"unpackedSize":599751,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1lt4BefQjdaNRuCK4YIWixEj2FKU5u/WfBiaDHAiLHQIhAIm/+4KLB4SPpqslPbtP8WrLvQIZkMzwZV3q7It6ujbc"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.7_1633380999202_0.4312050808460317"},"_hasShrinkwrap":false},"4.0.0-beta.9":{"name":"playwright-testing-library","version":"4.0.0-beta.9","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"20fd768ae9b78b818b13a1e4a0e2f82058f0c701","_id":"playwright-testing-library@4.0.0-beta.9","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-irmcYS4fSoZSEhHpbNm5tj5Z74Owg0jw+2jwqGY0MPn4Qcd4jGrbAe67CEqE8SzCRkhgf1UQym7sdSAHyhIBQw==","shasum":"9f57b69299f0e6d098ae500e154dda2721b7d983","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.9.tgz","fileCount":36,"unpackedSize":600211,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCYPwQolbsSfo8NHYRJEdeYus6s91x/QiKLb+nO9J7JQIhANCpLiZ7lFEvNBNJ6f2LKQRQzh7MeOkoAiWkzVd311bP"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.9_1633463466491_0.05089733838168442"},"_hasShrinkwrap":false},"4.0.0-beta.10":{"name":"playwright-testing-library","version":"4.0.0-beta.10","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.15.2","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.15.2","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Package Version][npm-badge]][npm-link]\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Dependencies Status][david-badge]][david-link]\n[![MIT License][license-badge]][license-link] <br>\n[![Code Style][prettier-badge]][prettier-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\nnpm install --save-dev playwright-testing-library\n```\n\nor\n\n```bash\nyarn add --dev playwright-testing-library\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `getQueriesForElement`\n  const {getByLabelText} = $form.getQueriesForElement()\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  expect($email).toHaveValue('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/hover-javascript#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"1edcd570918b25bb052b2ac706629a6410f1a08d","_id":"playwright-testing-library@4.0.0-beta.10","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-9Mffx9wShEVi6miEIN1PgO51WitmR+W742xLINodhgRXEiH6JWrCSwo0C6V5CouzcAhlfZpvMWqFHL75GBRxdA==","shasum":"e63e415199064cd138474a97628a5c1c688637f9","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.0-beta.10.tgz","fileCount":40,"unpackedSize":601106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZmKORCrFCW+M58pUnzAtQpymDRHr7LUY00U3579utZAiEAy9EQj+16/yC/j7a0vQJ842y0qFTvp2vnZgeZal/ilvQ="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.0-beta.10_1633479551901_0.6447512242398472"},"_hasShrinkwrap":false},"4.0.1":{"name":"playwright-testing-library","version":"4.0.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.16.3","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.16.3","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"81a74b10beb13a750464e2c6fdee522406fd136f","_id":"playwright-testing-library@4.0.1","_nodeVersion":"14.18.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-OGiOTsOUA7kdNe7T/MbbQ/2Ndpg+O7jnxWJfdc9dWXZbsnNDDO2Um9fMoiWqqh7frra8xvFtKkumAED1ejoa6w==","shasum":"4fa392e1f611f44f8532fd58d1981f4a6338943c","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.1.tgz","fileCount":40,"unpackedSize":601258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22yFCRA9TVsSAnZWagAA8P0QAJ8n1iKo8fCGNvB0Rzl0\nL4NBgx9mDdDqiVFqYAbc7JCh/67/Tf4KtA6tPxORrgcRcm8f4xN9E/q+f33G\n1Mn2Y19+RytKZwI0dzyrYu7E/N0lL03o83wckZMOAxoDOcdBY1CYl/7nVh4R\nTgCnW0FWJYE3siImOCnS2/0m7aig1AVXWBCx4Tncl0ma7xq49SArvs2N2MDv\nxdf6qWjCBv4ebsEyEaI1bnIB4zH33eidwLKTpDyGRYxMgOpYGEgkDbPpVfzN\namIWpzsA8v5uLJiv9HvNhDqpRmSu8qgkELhycKa1pRV5D1yVKOLec9MH587y\n5gStLKLsUqrDsXWFTaowL6J6vYiCfQFMSX/UN1oq8c9Xsud6qZTQjbH5T30r\n3jKbkoFte+VmY2ghS5X+zgqfAoAJmznfHJjPeVQGEOwPBsFkMNLV4vA0c2Tk\n7A1Fzx6pCOYHm4XBng7dQlyGx2FDh8WckwXivWWHpVrh/AsGtbsZ1MD/0S9e\nKx/Ii8exrmsufp35WHw8fDM+62IKHyNFBa9ZaSPTupXZjz8PACJ6NnFN8Jgo\n3fUmqKMLpxY4bAT3a8oRuEW3sDDwkqpxSL6C2GQh4JTTlsbcQIN8+SPSmrjb\n0UD9xl3/fpoBCVAk4hBqcq0goKBLVXvsz11I6sDy/8gBX0RGGBfoVqQf7ugL\noS8F\r\n=l3ox\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1sZHoFyu3begPfc03BG3F+hgKC9QJ4W8xagALH3BjkAIhAPz1V5dc8kjWuHSkwfFE10BXbdoTLkoAbz9iikCNGtNS"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.1_1635887779399_0.18705895196647981"},"_hasShrinkwrap":false},"4.0.2":{"name":"playwright-testing-library","version":"4.0.2","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.19.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.19.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"3c562f38312daa8d0439436804fac521276e07da","_id":"playwright-testing-library@4.0.2","_nodeVersion":"14.19.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-mwbf+OyMB3rprSMB6DYOUpfO/4l3I735Xod+QcpPlgQlJTp2X85KrxeJMx+1nAFBiGl5Snmz6+weFP+jdn2iaQ==","shasum":"75a80d5e19b57eb9fdf0403622c847d15cb53b2f","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.0.2.tgz","fileCount":40,"unpackedSize":602301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEFrxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVIA/7BfIetvJz3bhPBcdUX1SGK5FPGrSI9vZaACVyAff63khUth43\r\nmd6uqdcM3t5TQaucCcS6LE2ujTnAjNtEvfEt1d/vwPDkqsDs6m9CcROo6Lqa\r\nXn3bDPmSsRuI7YLMgmwSGfRBsxbx/Ui7UrsswKkv2KSw0rIMkzjh6t8Amm1c\r\nb3NbvbFkc5mCrRSAGE6tHKHCAQSFNYxdGb1IyKyTmtQsElCE4nLhe5Wztdy/\r\nBFbyUP9lhhJdwiFxdrpAw2VvYP23HSz00+8b5XG43STIIFthSV2BuawAw2U1\r\nZlbVEMFrtx/e/qk4MHBY8tV9XeAJIFqdXDfCnirmhfHHE6Go08jF7wLDu2mt\r\nTHyCreon5YUt/8k17uVjfbVqZKACViYIjkXJ6UDun7x23BJ4wt+ASm3oZACA\r\nC7OTzOm24IMcAmeEgp/BVWNmPlZswTYU9LHVbxKA67DOZk4637i3X8TuXluO\r\n3HUN/scPhi1UCrjDs8dfhgQnN99a9yXbu17iY12lYnTUakyMyXTbjGnhFqXO\r\nJ/RqQQyOBoaMcT7Q6coIMt7TPO7hRFdotU+uTSnZcCc5HeZRcu+VaTGU1qQh\r\nQ860Tg7HM6rXpKzP5tUwpx5iUIO7YtnYH+WOCF4jq+4FamiqnA2rXFhf8B0k\r\n2oTJtUD8/vAxzKvi8hDM8ToNxMFKv3aIIFc=\r\n=wgNc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoPPjkqh3ARS5NMnIguhM5TCPmT8PVyRHN/5a0EKaOpQIhAOUEYIRKObZmLL4g8y+ZLbomloTO6ZwYGhIuSSHNIHmZ"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.0.2_1645239025131_0.49115417956506824"},"_hasShrinkwrap":false},"4.1.0":{"name":"playwright-testing-library","version":"4.1.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.22.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.19.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.19.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"59a6c953ed98d4516cf768a73a82bca91b7e575c","_id":"playwright-testing-library@4.1.0","_nodeVersion":"14.19.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-+3SSalZIMWcNte2VZLHpt4jzA2COSd1et2SyKExyEznyIbixs4xtZW0w9EyWvY2+GPCmTuqknIn5t/cGgdmsDg==","shasum":"f4445c707589c8ba7a21bfc28e3777b1c50c1a48","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.1.0.tgz","fileCount":40,"unpackedSize":602347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFRbLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMCw//WxOVgCglpx5wfHoZDYPA5WFdVNR3nKxgH7/gYzs/6JnJAZj+\r\nD47WIOuAJ1XvDsLhTQTlt75hsOuRyS/tyBNK00gfLktdrrj46bxWN2dw5AxZ\r\n18qRsnXQVvGgsqlZfZhAPF6PhzOgZeEzLeuemZFhZI2R28hkiu3O5/k/gFUc\r\nVeFM9h+/W0Wr/5aaHN8XtgCRGD6Sl+5cCzBXxOcwsdn5AB21kvex9ErKaC8m\r\n+39j7PINP8E6HKCPpsER2VlY7sJxHxgtBcwh93jowoU0qqm6I+SQWVvIhz0L\r\nzbMv133HXXPy+yOh/i6kzkcJw+ByIMrCkJwjP6aWUgaY671WnpxmNQev7IJD\r\nKTWEysfYVc4bcOXYc312hXfUPUGiYAYZS8wsrcHl7+xQIFz4JzZs4UEAaWp9\r\n5OdjpEz/KmTcG4V3vT3SJQ4YOuTXsHHGRIGqgWpEbqM92q+SA+HgvCSMq9pH\r\n2fZOhy9LTFfA+Vl5tZ5eiWCbUmxfCgUrNCH3Pvv92RYxqsk3MVLpghfPb7mN\r\nTOm8KGjjgTqUx8gcEASN/uNFlAa4vTk9PnVyKLMwfCKRulcBeyVH3pQpvVpb\r\ntQjTHUA66Cm++zuynsUQ/tYu+Z+4Uz3qVerEJormoqD78YRAxxvjrIKseLTu\r\nj7Vla0EVHUw4DBPjimfAOke5DZr7JIncLIw=\r\n=6fy2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZMj3viOfoD2vkOAtPemhuTyMZ4yL1+ZbGFapbrBDlZAiEAr+QtPw6KFvEy1Ycwcp8S76pjiryU7L+7YZy65FLqIN8="}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.1.0_1645549259085_0.27752235923181723"},"_hasShrinkwrap":false},"4.2.0":{"name":"playwright-testing-library","version":"4.2.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.19.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.19.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"1805c1c7787d1fe3dcd646e8ee47246e55a1fbdf","_id":"playwright-testing-library@4.2.0","_nodeVersion":"14.19.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-ZuaOgCcED+U1kKRwF7UJpgsUWVj9WmoYfEXF1DOMhC9f2xtePoDMn4+NParGjGl6j2xvupqpgEb/QuhCBWaPfQ==","shasum":"ae1d7edb8ad95a6e88f2831429edd974af9ad5d8","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.2.0.tgz","fileCount":40,"unpackedSize":643791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFVT3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZQQ/8CTV/2y3g+VdhkLE3bX6BtvYXVmFOmaUHBiIa8vY5E7S0b5qv\r\nOcZf/aK/0T97rS1fcTarggK0gJHSzIcU/6IR2qFs5DwDQ6Q1ebfewj5qnrjY\r\nN8TjBlqtNmV+AgomCWL03TDl3LmE0U16p61LQ0smtkcZxLn/jXO/mIgACxbw\r\n4tEylk14knamzMN76u9Bdi8PX5VeMiUhuCEghnO9L35wrHr0xDxZVkMgkMMn\r\nZVUNARtj2bBqfCGgjLjTmKmf6EsHBzSaCmZv2Mi4HDWmu+k2kLs31wZBgta+\r\nnz8qpOdpJqgMeOlCyhejja8nPiiPvWDkW20EThetyvTPCbUR4+HKZyvv5xPu\r\ncmDWm/y+Jjdy0kqZlooX0pmSf6Kkz0luORjvpxv4131KxUzD3ZvH4JDZlwg0\r\n60O+rJyI1+wwmxaMpghwiraz+3xPS1lJocqqvaOvPmPRw4R2VEcpEj1Ff33P\r\nDcZgrkGvXocl3Y1sgUPDTOnll8GE/av6Vg5Zw/a4pC0YXlNL2Q6Mp20qdXhC\r\nNNv2IgnONPEK9DMfc2W1XUSfL+UF6znLrJBZ/Vg0NQQICkJxn4m6PE/wgpzJ\r\nwdlzsoiHRxnwgODShhydPBAk2lSgO1KIZfPpig9DHjT8aSaWqYvCQeDhZx+4\r\nuTPkV8TkY5klLpKRz6u5Ok42S20ZaMkz8tU=\r\n=KZSg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbKk5F7t5U0X2fRtoGnyMzydTozlc8qJdjHiz1lvCzRQIhAO3XiJoKnG6zKWbBlAPEHSXQF9j+G/zcaiQI+an8kdSY"}]},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.2.0_1645565175398_0.5088746035785585"},"_hasShrinkwrap":false},"4.2.1":{"name":"playwright-testing-library","version":"4.2.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.21.0","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.21.0","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"f61714b6b355d515ad07f0e39583840708045016","_id":"playwright-testing-library@4.2.1","_nodeVersion":"14.19.1","_npmVersion":"7.24.2","dist":{"integrity":"sha512-nwyZ5jfkPu0mkvLc+WeGV1KH3fSGONWkbrxY+0kDM8TsZDiU4aXGxald6hKu2a6+7172DkwRPCFwLHy2iLlqCg==","shasum":"6e943c01f6062cf5f84feb8e9751af665bbdcd18","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.2.1.tgz","fileCount":40,"unpackedSize":643795,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUMSPkHwTtcDAHBYFJpRUUB7QADyILh/BXvDlrxuiznwIhALinB6ZS7UmDtnSXyUCeHncGikTlF5jKD+h08NhB57Zu"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVypSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpoJA/+O6zLDA/RbeVYPWyRULfcLZR1Z0x7PaUpSBCZ70CYN4w9J5Zz\r\npE303LLS1QOBbSe4K1vI9O+G3mGVGwZfMfR5HVNUP/9nAKnZgscGsEs2mHWN\r\nGiQ4YBA11ZSYzcZZD7Fo6AoUj+n7u0IswjDV+o87ZibDdj5wmAm+W1e2HM59\r\nFjmjhZTKvMWlLGPU+5AnjE7CDdpIB8KP2CL7H/8gvgcT5sMKbE/R9Qm2NYAy\r\n6+NSN881nO+S1aiIehkCNWeIvwsgBSR9ighqrqoe9516sQpkkwjiRvX/4DFl\r\nPZFSdnQTlUQhOxeVTAcTHF0X3jZz9G+fo64xwL6glVCGH/qNCcPmCyipvhzy\r\nvVbJI9l6fEb8BcvpQyJZcmnTfQ4j2SPo9pdVUVqYNcR3Sx+tvz4xu5cZR4HS\r\n1pjn7Ee410pi95ZL4ZZfIxWYqGIDdOVcau6Avwp5zEkFb74tpTj5mwHkS2Es\r\njzyU1TyQNcr6iLTx9O9bCHaTnEaP7MoTuEPVoKoOc/z2U95TXeHTX9e0aD9B\r\nz/VTApdiUj+8kELQe6Wj0+KrVVS5ef1VxvyMlDOfbVEG9UeoYcl2hCfNG785\r\ny9gzUU5HXkbeCtzTi2NVhz3XetZDlAxG4LFTwGk+Ao6qqZA4pZ5YTirSSxH2\r\nmcSUkV4NS8Ejb13J4jUI5jiJq4PJ2u/N/EQ=\r\n=htzg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.2.1_1649879634609_0.27666822170112937"},"_hasShrinkwrap":false},"4.3.0-beta.1":{"name":"playwright-testing-library","version":"4.3.0-beta.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:*","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.22.2","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.22.2","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\n> ⚠️ Note: this is a fork of [pptr-testing-library](https://github.com/testing-library/pptr-testing-library) modified to accomodate for some subtle API differences.\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"19c9ebd37917ec04eedf02e6dbe8d55b45f0855b","_id":"playwright-testing-library@4.3.0-beta.1","_nodeVersion":"14.19.2","_npmVersion":"7.24.2","dist":{"integrity":"sha512-1kHTePW6wgVmho7/BO83HIWtxQhtytX2WGghyuLNPkkG7VByEl1+CuunrmsOWoumfnUophEWeuTLl1hMDNkItQ==","shasum":"4d4a222b92e12b380a467daf7d63cd22032f84a0","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.3.0-beta.1.tgz","fileCount":56,"unpackedSize":664562,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3NPHaCRr2Uzx+2hSMjG0Ig7y4S5dbIDWZ1xG0DLCZMAiBMeB87a1PSEp3srZXeDaaAYrF+jOIZxnHuGut+hY0uXg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil+HoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVEBAAj+sCiS2QTUgppfLX9LWLWsJAlqPFsv2vRrzwCSfDLIUzoprX\r\nCx/slICqeH7xfkPLcq7uUdRizrWUVJxwX/sJxQRby5+61OFK1rSV/dFJt6R7\r\n143jK1NzF+CyLWOSKipR5h69k+DAv5wt465y/EvU/6ZimxPkZgcJcjowBkkj\r\nbvjNF+SFF6Hbf2pp6XwOxdxJkj5SuvHT2y4JBYvveX5pI/+m5xhMv9QiJrWf\r\nCHSbhJMZegLPykHilSQX3UQRGp0+FMGaivhmA5iXUPchobzqIhVSORAaygAc\r\nVz4bxXR8mfDqxQgoIeNO5op0q27E7StjIWyS6e8u8NJZi7RiWU6ApAU16yKw\r\nehG9qKlL1VLLuAbtO5fOHG/SscFD27s1ffJtDs+zW1INoD5IiBh2cFykzUPX\r\nVHTuKCA4X4ljz0Z5Q7yuUmWVmiLmOGJT0AjNjm0of5F+Dq2uZH5yqyqnYCZo\r\nMdGz7HKeUprHEf4ZLNDzqZcHaKzGDc2MBB1U1aH4fSvKuox1KLZFF1a3COwv\r\n3rM02Io0qpicLQAFph6zMZ6MWXMB3tJYoJrG+GXIWM8xe8+2dxt+mTzWMuFc\r\nAW65GDrZAArpronDCHY58DIXW4+04fuwa5rDTDgAV3/9BCWDeYBq+XfC42qw\r\nJgnQfzXbkhtk4DUifVDXzVoB3H+AlVuoFto=\r\n=ppUQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.3.0-beta.1_1654120936706_0.5443169543874598"},"_hasShrinkwrap":false},"4.3.0":{"name":"playwright-testing-library","version":"4.3.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.24.0","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.24.0","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"081814d07c9d1e9b504e018daa29be8ccb7a913b","_id":"playwright-testing-library@4.3.0","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-xm8DC5G5e0oZbg2+s11NkDZUDCBrczOZfksd9IXxUAvO6YOJj2aguQitu7HpsxSAtPmvDIq1YTZbsWHvPMSOIw==","shasum":"5497fe72c4166662b734587abf8694232ea2129a","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.3.0.tgz","fileCount":40,"unpackedSize":644700,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVHJL5O82kOB5QYa4Ed8YFYZ+zyIYJAtTdirhGSItDGAiB94xQtSJloWH7d7qCGTztk22Ir9xbglJLK0l8NeqUHIQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3xkHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqxqA/8CeWn0vySl5lhLF05RofmMwjK80wWscMVhCClfOYQS1kgh/xF\r\n3MPJW5uuTjXghRYqn9WEWdlzUj/r92O5tFpgkN+0xDCR1adMpsrnIV8eM83c\r\nHpM0rLbEp1YvxF2y8bbIdJiSYL5mNMqzI767RcFsUhK57+XyyUUI67ksGzFB\r\na8l2ops6OQ54leOHF3+n9xYiMrYHbVUgKGN+8uM3w5F0UQYOMTE4vqwy+SYf\r\nP2Fq08Iw92951+tfoqH0aayy7gmJ+cav5EH7uZmJFG4G162AV3jZ5Dl7pWC8\r\n/BO35KKlQDTGWGenNOMNxuliGDhW+4/DP26sK5x04xzCrMOsZ33e5u9RPC7h\r\nCy7aBTyiKBF4HQdBwSJyRz0IFRxBGQZW/ktHhuHOa02vMRCyTUiluQUCDIwR\r\nPsAc/JqYIlSRtUrmL5l54e8Vk8nXYhcB2NT9RI0lmPY9NKGfVz4tndKcoeZ8\r\nfx8UJw/ktrkpTteh3hcwGNcMVIV9R87STiLNpRhS4JK4xOZfQcFGmtxklcuW\r\npcvTBpsDjXYzGIQ8Z7VD1+pP3/CixK32TjYQsJzKW418jlNT2FrTqq7kmfYa\r\nk8cBGMnq3wpjK1FHwr+Xgmtq+ntbxTsBlWeHaYuMO/D+qhdsaEFV1Yohs1wD\r\nOIM90KFhNCJup33RvjnwH6s9HsIkFOr/Q58=\r\n=OMYm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.3.0_1658788103155_0.8910595053917418"},"_hasShrinkwrap":false},"4.3.1":{"name":"playwright-testing-library","version":"4.3.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:*","test:fixture":"playwright test","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit","validate":"run-s test"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"e5b3e6f6aa72c8478fd5dbabd0546e0e4339807c","_id":"playwright-testing-library@4.3.1","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-U0+XlvcxDGLCOwUK1bnEJnNe7aCe9JbqruHHKOjeYjlChsBeZYTPxefibe7EVoFPz0AXrHZaBQjHxDth95Wxaw==","shasum":"0e734133fd24e07ac174faada8a12d5005ea1ed6","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.3.1.tgz","fileCount":40,"unpackedSize":644555,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAZuDf8SbK7xZvWmMRp9X28DYskoRfiZVXoEAJs80u9AiBvfVX4abF2Hrs9XI6yJ8l7Mkuph+5yi2iuuEPDTMnuyA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBsvgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpolA/6Alq6MnM9HKoETO7C+NJuGIUA0FkkkM6bM+sqoBkJWNLoBvlW\r\nC5ew2Y5J0Mfrlb4naKHY0YGnzAA1YOR4tQO2G83Ad0n/8ESi05MTm6q8MXGf\r\nMVR5XvzIWXd6BaTadcj3zbl4G3UyljEjgUNngfL//er2zw75CuXcsAmmxPxg\r\nnb/EJmAqMEtF3C/yCBaaHNknBGhODoO8O4BnL917rhnCZELxJ/i2TfldwDdU\r\nhharTYcR1AAVM8kGN7qmN3LDGTDTbR9r8GQ+rOmU09YrBBiMPS4ATYfrWEuy\r\nWsfttWLnYtvLCgCSkeBlqjAwlPc4u3mGVzIzYD8Q//5EcFzyk0ZpLEeNJosI\r\nLgDWIlFt5ZRRfKYW9g8ICMqDhadILSdTWUX7FEpbj/zx2iC753W7x6HVF5vT\r\nno4X+OqEZ4giOYa+ByAFF9o2ywex4VbTNo7areH5T1n1I1qNkUudXOmZ9+/C\r\nnc8obRKsym8pqN4QaQDQ52Aj7V8HINmllCFSxo52TYhmhPbtCa/olEzhDs/O\r\n4iTPgHXHfGV8fnobMPYS0dEq0EdflRHromBEVKZFoF9yZ055ZYh9s+HN5vSp\r\n9sevLHBm6z7CjwVVpxW66X1/T+MjDr0ugnWCvD51qgNtHKcXFTGU1nbSi01c\r\nEwmZXdLNpFMoHzE0h598G3iQXAuc5iXDXdM=\r\n=Mj1S\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.3.1_1661389792769_0.938463582439512"},"_hasShrinkwrap":false},"4.4.0-beta.1":{"name":"playwright-testing-library","version":"4.4.0-beta.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:*","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"f4f6e8d83c246a7d18953c92832e92357c7ca7a7","_id":"playwright-testing-library@4.4.0-beta.1","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-faN/TkI/i9O7KQsgmymoBRiVnM2D+QsZHh6aEU8CatVHJ22v9fmCvPPcoRdvqD0zGpW3luy4gJIrVe7opoYxZA==","shasum":"bfb93733480c6fbee07ef02ebcbdcab7e9887c82","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0-beta.1.tgz","fileCount":56,"unpackedSize":665143,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDJVYinXDM532SG9AYoyK4h0ziZt6GzRszheWBrDWLAAiEAkyHIziYw4R/tgxXYRL6rBZeRfBek9uExjZ4OHX7AfxQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB+yDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqiyw//eswtx+JcPSaRGJsfC7yufWqAnWHRlwyerJsM0marKb8hFJI7\r\nEnlLq8/I+amWpL3Ju0r0WWa1AGVWjT5SjShOKm7J+nrNGX0HFO05qZNJlSNt\r\n/RlmtD6UV4lCzMIpbcpNzuF9JaI0JsQyZAWvzAZgZFcXixREFYwU8RJQ20w3\r\npSqclg/TAUeRpMFYgPhFCqvcFyZxtgBE5ctRMuMWJCfiToVIbmpBStN8J+DB\r\nMHe7+8QztzHOiMxlBUWSe49H3zAtKKSHi6KfFgwsF70kXepzzlFC1i4SsnZL\r\nYtIpm4n0jc84GsBv+NRSIVD0hYxtGAg84wxpWhrBQG92D93KcuaRHcOvbUkx\r\nztr0Jo/PKVBtAKwCg2kHHKCXpxHOk/rIhFP1htHRgv7lLLPqLpUsabz1bg9Y\r\nak8L+KgsEROJX5c3at4raEXiyEKlU7vO8PbwvTt52BFiHbhfdSQ1hN4KjYzz\r\nE06qrkBUDxC/AtTZ7nJwrIlijFkwHwGeeVmVsv9G6YsiEcOJ9MnnXMHJaTqv\r\n1DcIUWVnol86bJSltscx0DViD4hAKPXdgdpUW93+AUG8pCKgyV0gtbmgFM4y\r\njjMuzde091sjV+8kY7wKPH668/yf7pouEEZ5Mz8g5vfXMNb3C2n9S0x25cPu\r\nZ7mx32ThlM4NyF+JNT2TVV6/RuXfWQXIjG4=\r\n=xRfj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0-beta.1_1661463682964_0.4720549205347837"},"_hasShrinkwrap":false},"4.4.0-beta.2":{"name":"playwright-testing-library","version":"4.4.0-beta.2","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^7.0.2","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`** and **`query*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"375a6a91848e77b188e79fd52070abae52c4f48d","_id":"playwright-testing-library@4.4.0-beta.2","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-VXum+KrXDu1IKJHM2tgh3H1ab6FAxFsNNfEWes3VP2s1OxEZMh/UVYXBG5kQPZIIq6QIjNZ2ByR1/PXKzoXUeA==","shasum":"119806292847b83a302033e82c3b093f54bf7631","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0-beta.2.tgz","fileCount":64,"unpackedSize":672406,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLbLVu9fVasqRbxDuDWxB8yB9oPBGYXKa7kFJoTqvgNAiEAoNQSprhLcuY28T2G5jC0rEb75YDBaUrTGVZJ0q3Z5yc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCShpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMPA/+Ki6Igg0qUsgONbnPa6y4qdj8ivXkgk2HIktvXFLnaeclbvrx\r\nkIjemwS8By/KoO5bnca/IZ4/pHSmoCWvwLiw2qKwc2HUsmeOjPQa/YyGs5QA\r\nrqRDQ4T/u0H0JUB15sox8wgLcOgG4LSzkzQ9L5NSL6GU78F5Ot0Isu5vQmZN\r\nm4wdxpwBiXrlJjShxJPeFzvQ7S5RpDY0dfBFGo+ufVrfMIf8AUcHp36btIwv\r\nEv6NJS7/AbrVPeC9GN1Hsatq3VGJjCaWxMKSuKdnfQuGOg+dM8rvxL/BEgYQ\r\nOmeo44vVMB2SHdqfdDdQZxfKP9/x4NOh/mkOut0z0f22pkRXxAKUypym2urq\r\nvIbpYAvbTcp0IP5Bc0CRk+JZU5EXtcydalthUVM8hzKN96GCXaoSey/NJcON\r\n9BL+uwo6nzRevbeXiQyC6bDxqZZaYqLsjjxwt0mxnxktUYok5aRCOLAAxEDm\r\n6EMryCM52Y9W2uVTFn2ueqnxNRE2xMtB3CcEhBdenm2Z8D56noh7Lg5t75Wx\r\n9G/GGybiWUm7sueND6/HVV1rb4VkzYjMjyM4FLpG0CXYmchUrYJG6CvShClI\r\nmMdG/kRrkb3MSeQEcUOqtKWM/qPwyAamhvKOyIQX+N4bxNYQGVrl8h7D5V2b\r\ni3j03vUs6fgPHvhD01lP7ZYM1++LNyEnDf0=\r\n=Vmdo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0-beta.2_1661544552793_0.5953704145677539"},"_hasShrinkwrap":false},"4.4.0-alpha.1":{"name":"playwright-testing-library","version":"4.4.0-alpha.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`**, **`query*`**, and **`find*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"f01deb4e95814a07ebda03cc105eff973ae69493","_id":"playwright-testing-library@4.4.0-alpha.1","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-Y2EkV99Hba631l3FQ50y0JLlgSpN7EYQTZGtaB5PfBVE/cct2fRw7TlIf1t+gkAWcgaD339IKp3w7trDDXTnOA==","shasum":"75ed68ef5a71dd3585c15e482afb57af63bb46a8","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0-alpha.1.tgz","fileCount":64,"unpackedSize":684167,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpOoIT0WYqbfZCwxTA78Q+kNmLL0tW4DEnaABb4/JnSQIgCgSgEpsJEMny2MJfwrZ2hIiniwSSKmhXgZFmUK1ngd0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEuLPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7DRAApPE8Xk3fYfFid6EEKx1mj1gTeUOXDkbLdFQ/HpkLGi5IgnEr\r\nT4CNnaNw5wQokhCWRZZG2x6ynRnCbz0HrClNdDV1p0HhHdq7AM/tCDDonrEb\r\nB9/fGpXUks5pdHqLMUeKCJFSTBAEsVK/2H4y6XdgNrqRRWiUwcWl0TqQpZND\r\nMlUCbcju22jEaqxFZCJf9RsZdWOq9rkTxPujzopuE7mJD+WySYGWjmu2EwVH\r\n97Z5L0Lvi8+H1y6iqN59x/p6j2Zni+Cj9+RAAmSvVqf7mymfP/ZFHox+oTgq\r\nbz18EnoP5yXQpryXZ5V0PRuAh5G6YnNkIyaEHoSKngLSLmtriJaD1l9DvhUG\r\nBEEuu9rBgOj2Vqal13adxdcPqV4M71rivuAvwVQrUqxPCggn4HCe7TL09+Oj\r\nutioPG8QzKQRcMOAEhLMk1bDbw9r+5ooM7QMmtSBtvdPJ03nzJqgPEvjUH1c\r\nf3z7FNpuQqS3WeebbLTSYOIfymJ92rZxKhuGadz7Q8n8oFNI0TXGKkFcu7Uv\r\nFCRHzne85sVdv/H+wxyfcxCdisnUUr+HesFYE2WxTFlVKSCY6nK2BJD6jhY2\r\nA/20aSuzwYekDoVIx4Oy/wggLt5BKiTHU204OMs7HqqSTtuEP5dccYkV6MUY\r\nC/cW7xu7bksHj96mUyHO7y8qDlyne00naoU=\r\n=4NS+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0-alpha.1_1662182095503_0.08946727331748439"},"_hasShrinkwrap":false},"4.4.0-beta.3":{"name":"playwright-testing-library","version":"4.4.0-beta.3","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`**, **`query*`**, and **`find*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"4b8cdbbc972c4bae77c8728cbdd79bc1ea566d25","_id":"playwright-testing-library@4.4.0-beta.3","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-bQcNoJUpGj/1TgDNfGRxTdPVn7KMTPS2FuihUGeSwRiORcKHl0J+CEFrkOKFFLFW9sSnm5/piC/sshq/BVJpCg==","shasum":"b7c5c1b1f978ca80493603224e9e434bcb39935a","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0-beta.3.tgz","fileCount":64,"unpackedSize":684166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBK1qY9RdZRauiyUrmbgVGhejR+qhNYwHzvMpEOYOKK1AiEAuMHezh9Fkcz61Fs437PdHJzy5An2nrpunkCWlAAAIaQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFrFNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMpBAAkNk79eAd77U4JdIS+OCtXbf2acw0jR5aulO71UvVHoQtiiMz\r\ncABUqv4xaENwQNUP2N8hFwYU5Nk57o2CWSlGGm4a+3pCVVSNAuntXJD8EdeF\r\nnboDimA4HgQdgjIT40d6/UqGnCpNxQxSNe94S49lZK71oG3hzIvWodgXJdnK\r\nL+H0F9zxdB5+hL0sLq5vzc1+ZfxhqbCpN9ZIO42JRSrfE81D5V+MTtGUwb7C\r\ndxios4IPdiSIkx5zFev0OiC3BydVoPoG906jlzMGQghL9K1P55SGK5y7je9Z\r\nq+yaW9vC6DG6s5gHHqFDOIJf3l9LVyJbhhXZ1b+BTb6uXxH/vd64ccQvKVZE\r\nhP/dxzpchMk4GrD9M9V7BrYqTWGk56Z+fivYaVg/NswJoovjzYHiJehobzN6\r\n2UB5wg8dncp8jGGDrJ0VwtjLIAxaQQhXvlo4rOlQ3PLoNat/al6t56pWe0Ld\r\nf3UxW2eUP2byG8WaLUxAoB5mM6GT7CB1xvdHeX0y0du0JtABW+wkbFQdqlZ4\r\n1W3lmW+a9REHii3dp7gXpudPhzRdLydTyDxNE4p7pl2rpnSfK+GOjDKdhRSl\r\n1D1PrH0EwkO7rZ0eZx4N7ks726Fb5Dl8zvU8O6F8BwtwpjcvzaPG2jvQHV1b\r\nE0g5ueGiv8ZyndAEOV82q5h981ezXXwWBx8=\r\n=OD2a\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0-beta.3_1662431565311_0.855953429918519"},"_hasShrinkwrap":false},"4.4.0-beta.4":{"name":"playwright-testing-library","version":"4.4.0-beta.4","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.2","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.2","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`**, **`query*`**, and **`find*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"72255c65aae1552c7d35ef3c60bb4709e84ff766","_id":"playwright-testing-library@4.4.0-beta.4","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-vMaUPiEB5S7UpVbSGjHlTwKnEcZgcPcsE6sQK9yy9dw8TJLf6JByccXs+kNwDFvQHDCKtOzKMvb7p+HPmUMkWg==","shasum":"e5c89874f2f265554326429dd4cf119c6b27f7dc","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0-beta.4.tgz","fileCount":64,"unpackedSize":684166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8atT/WWz5gX5LO1u2NLedCyuu5t6TylWUwrTKK5wy9AIgXQLZO9y5bojjnFG9DpEi93+kIo48zOlXCc+OfiJKCQ0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGRbkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxBg//eSpY8pZJb8M1gClfVSewgF93kPZxl/O9x/uy5M3ANWUu6ePl\r\np8lVr+q1EJdygZzqk1bdxxJL4Y84nlKCHNO3VPJEn69dgrs0nwtenl/xVE/Y\r\nnVcZoI+rGz/Sf3D1zpclwV6S5w1K6b8x58WrgpwkL2zpDAfZsmpIYAxzHmqE\r\nQEnsbFxi4j5BlbFt+YJwwuFN8icoeScQ7HdaFIQNhSXoIYz98T7nqz5d6WO1\r\ne1h00B1EzO7pm66wdBIMhALc/lHrUrp3HLyzzqoz7ncDeKvR1oVWzr5+YcVH\r\nCVSjK4jEZBtN2qqCq6z8g+D4hpq6BaPjDCQ6s9XZVZ8lTK9EcvltAs3FClQO\r\n3lLCKqNUCfPh4M9TQo48PWRR36jnWtMFmpi2eToc8Z1tacwqb8AE34Ksd3Gr\r\nZZ1rKuObAbTO9t1ORZUgHlvs4/pXrHY3gh+MfxncYlIJ78EfETxl5+LLp1o+\r\nEuF9H9glf3pWgD/c0WyzjxG0oVyIlWbf62NOALoCHvpGIB+BegpZpw/oylUj\r\nMNUb0Qn4X45fhnMC4khk7lssUOV29eteLGFLgbq5KNvPjZW0XrOPDBghzmeH\r\n0XmnbAOMHVgFdVUPyu5mkO5NYbKRWGipvnQC2Cb2US3P4DyORY2ydG0xt9pI\r\n9V5KesRhvOR408FiZOJctCHI+Jl8AN4bYM8=\r\n=lEO6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0-beta.4_1662588644483_0.3497617139802838"},"_hasShrinkwrap":false},"4.4.0-beta.5":{"name":"playwright-testing-library","version":"4.4.0-beta.5","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.2","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.2","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`**, **`query*`**, and **`find*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"348344b814ae7dcfa788086fc5e1b646617b1400","_id":"playwright-testing-library@4.4.0-beta.5","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-Obk4DLOdBFdoXrB+FjnRQBNBC2nZlgYeX79QFS0O2C/yUx+7eApaVQEIngsgnUIgKny0McXLWmmhHbhdjk9PCQ==","shasum":"f531383c2d7bfcf24642ae3ed382e581b159135a","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0-beta.5.tgz","fileCount":68,"unpackedSize":689350,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPcSNDpSduB2jTx0FWEzTwSb2/jJe0uytlR9ySIXwF8AiEA9tgBSKFFg/sr/+vn9ASkikwWqDmbpm0/uUxpiS6r5Lg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGiuBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOrBAAoKYXEde97tORhoT6EkOhakerFg006WXaVo3znX1E6CBvGpIv\r\nRvUgAoeqh8FutUB74kAKwZgUdaUdMxzpNUkeEug86JcFYwhFamaWZpxel3+E\r\nrUB5mPVWRAXmQCwfctQYUP4nQMptyBMbOxHoeyOhGr5HaKGzpL080hQHOTya\r\nTAM7tfGoqxd0uDHI3a2r/hbxEk4ZsKTKxtLzHlMbzRWjlTr7H3fE2aCoOuwb\r\nWw22L1hseE4si24IBZPHReiMsCpI0nrfcScqF++fovpi+80ykPeN+gt/cJxZ\r\nuX0hL621JPgIb1UZ+AQ/QElN6zTABrIwwPcfIkrVT+sOEZxwGASGC01vFRpK\r\np/AzZu1NRCHtDgBh2sf6k1nvKfCnGF/LKsYmU5/C6WC1RV13XOjLYISsOpCZ\r\npvgV6DMGCZxaLFsxJq8DIWHfJZXsymJlw4HVMcRGjzOq43BQylclNcrhXQpV\r\ncGHKhDBJv5/MB7X6pLQnj54XI62GJbc4CDwhLsqkvWLBfbgGTQBHE5A5Dw7D\r\nLk4CCd1/ifJMNTvCKJnGj6pTMl6KhhtkEhxGDzhH5kUWn+2n2eFg+PZV1Nim\r\nQliz/+TDqaixcSvRyc7LtBP89LxvCJ21nfSRsy9k/ZMz9u2KPSda22jfADjp\r\nDVYnbgvBzd2eG437UF+XmD/NtHwSL5ooN6s=\r\n=9T67\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0-beta.5_1662659457604_0.039324828430814085"},"_hasShrinkwrap":false},"4.4.0-beta.6":{"name":"playwright-testing-library","version":"4.4.0-beta.6","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.2","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^3.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.2","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## ✨ Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from Playwright!\n\n- Playwright Test [fixture](https://playwright.dev/docs/test-fixtures) — **`@playwright-testing-library/test/fixture`** or...\n- Standalone queries — **`playwright-testing-library`**/**`@playwright-testing-library/test`**\n- Asynchronous assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Getting Started\n\n### 1. Install\n\n```bash\n# For use with Playwright\nnpm install --save-dev playwright-testing-library\n\n# For use with Playwright Test\nnpm install --save-dev @playwright-testing-library/test\n```\n\nor\n\n```bash\n# For use with Playwright\nyarn add --dev playwright-testing-library\n\n# For use with Playwright Test\nyarn add --dev @playwright-testing-library/test\n```\n\n### 2a. Use _Playwright Test [fixture](https://playwright.dev/docs/test-fixtures)_\n\n```ts\nimport {test as baseTest} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\n// As only fixture\nconst test = baseTest.extend<TestingLibraryFixtures>(fixtures)\n\n// Alternatively, with other fixtures\ninterface Fixtures extends TestingLibraryFixtures {\n  // ... additional fixture types\n}\n\nconst test = baseTest.extend<Fixtures>({\n  ...fixtures,\n  // ... additional fixtures\n})\n\nconst {expect} = test\n\n// Query methods are available in `test` blocks\ntest('my form', async ({queries: {getByTestId}}) => {\n  const $form = await getByTestId('my-form')\n\n  // Scope queries with `within`\n  const {getByLabelText} = within($form)\n\n  const $email = await getByLabelText('Email')\n\n  // Interact with Playwright like usual\n  await $email.type('playwright@example.com')\n\n  // ...\n})\n```\n\n### 2b. Use _standalone queries_\n\n```js\nconst {webkit} = require('playwright') // or 'firefox' or 'chromium'\nconst {getDocument, queries} = require('playwright-testing-library')\n\nconst {getByTestId, getByLabelText} = queries\n\nconst browser = await webkit.launch()\nconst page = await browser.newPage()\n\n// Grab ElementHandle for document\nconst $document = await getDocument(page)\n\n// Your favorite query methods are available\nconst $form = await getByTestId($document, 'my-form')\n\n// Returned elements are ElementHandles too!\nconst $email = await getByLabelText($form, 'Email')\n\n// Interact with playwright like usual\nawait $email.type('playwright@example.com')\n\n// ...\n```\n\n## 🔌 API\n\nUnique methods, not part of **@testing-library/dom**\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n---\n\nThe **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** — All **`get*`**, **`query*`**, and **`find*`** methods are supported.\n\n- `getQueriesForElement(handle: ElementHandle): ElementHandle & QueryUtils` - extend the input object with the query API and return it\n- `getNodeText(handle: ElementHandle): Promise<string>` - get the text content of the element\n- `queries: QueryUtils` - the query subset of `@testing-library/dom` exports\n  - `queryByPlaceholderText`\n  - `queryAllByPlaceholderText`\n  - `getByPlaceholderText`\n  - `getAllByPlaceholderText`\n  - `findByPlaceholderText`\n  - `findAllByPlaceholderText`\n  - `queryByText`\n  - `queryAllByText`\n  - `getByText`\n  - `getAllByText`\n  - `findByText`\n  - `findAllByText`\n  - `queryByLabelText`\n  - `queryAllByLabelText`\n  - `getByLabelText`\n  - `getAllByLabelText`\n  - `findByLabelText`\n  - `findAllByLabelText`\n  - `queryByAltText`\n  - `queryAllByAltText`\n  - `getByAltText`\n  - `getAllByAltText`\n  - `findByAltText`\n  - `findAllByAltText`\n  - `queryByTestId`\n  - `queryAllByTestId`\n  - `getByTestId`\n  - `getAllByTestId`\n  - `findByTestId`\n  - `findAllByTestId`\n  - `queryByTitle`\n  - `queryAllByTitle`\n  - `getByTitle`\n  - `getAllByTitle`\n  - `findByTitle`\n  - `findAllByTitle`\n  - `queryByDisplayValue`,\n  - `queryAllByDisplayValue`,\n  - `getByDisplayValue`,\n  - `getAllByDisplayValue`,\n  - `findByDisplayValue`,\n  - `findAllByDisplayValue`,\n\n## Known Limitations\n\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query.\n- `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- `expect` assertion extensions are not available.\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library) of course!\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n- Yours! Name TBD, PR welcome ;)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md","gitHead":"77960b27a54dd11fefc459252cbd87eff0087b70","_id":"playwright-testing-library@4.4.0-beta.6","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-94njjc45nhKiQyLLZiK02E25BY5pjDagAVTGptKRDMqqWACQZvPGzyz54XHpThwl6eFAoNiErzMmkyBk/uacYg==","shasum":"df9162e5382b47da6575108889db8676a7c80661","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0-beta.6.tgz","fileCount":68,"unpackedSize":695211,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBk4OqbQg+SnwQzlI+NAyHkZURjPqMB1jhcLX7LpDlrVAiAn0sOrqQztvbeP1d4vpT7hjFX+KMDbS6fDa/dz8lnOXA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjISxIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxHw/9HUlhs5lbS56CDtDr4OnDTRMhlNoHHp6aQtCrpNmYa/zWaY+T\r\n1mzPbzN5wOzdWz/lTVY8IRIelcw8sGDEJKJPUAU6B05vQzAU15C5Uw7Bmcou\r\nrnmByJ2ojVIF0KQKdeOJJZ9mrDxOU3XWICfMg992HzXuLxi/UhBubE9x0tGQ\r\nj5azOmXGn97Qhlp1cfUA7LZdRf/XVZ0HFTb40Pb++TOMuIaoBHdWy15ZdW3d\r\n1OUikan1V5AFp80mmWZrI9JOebx7Zfawf8gYKE70UIvj5SucEOADPqexTo4a\r\nZ4sQLsLSH/LWCi0YmeWDCjxU2/R7OB31JwyvXdaajtevN+Mn7bdpr/izPWqI\r\nxyaBFNX5NJH5P5mLaDbgKDAEMay5exqOqx25XtdLXgEoGETj47y4sBoq15Xh\r\nBUACurydm72jdrH482QztR/UHFHHpGqwSzCiLYXJVBOsSChb4Q+Wz7NDynIe\r\ndwsWrZ1PajMLAk1H7kjEePIVN4Eg3mbe27kRsMbTJIky7TNm/yw4LZ8sRaxy\r\n6popC2ZFi1l7nc4x7L1mLEPVQ5DeXNFCR/SP+jVy4i6ddJadv8n0vRE73u9j\r\nAeKT37VxhnT7uadr4I4uPcFZu1lFfMnktu9ePyz8OWxXrG34g9y2/YGdLWab\r\noUbGZoAkqUjI/7PgioAjXdJliesJrzAU2Nc=\r\n=5kWL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0-beta.6_1663118408024_0.9341926966232634"},"_hasShrinkwrap":false},"4.4.0":{"name":"playwright-testing-library","version":"4.4.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.25.2","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^4.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.25.2","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"1b41bd5e5de2c22d618b07ff5982997da043bd7c","_id":"playwright-testing-library@4.4.0","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-Q8FkEjX0Sp7JcqyFeHpZP2rRstrbiG9IWok4bUaq1qOJp9LLN8tkVUoR5HcFWQe0XYlLYJIRQ7M/RNTMYRmN8g==","shasum":"3a417d85bcc61a660348c5a6e22490fca61df797","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.0.tgz","fileCount":68,"unpackedSize":700070,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhIODq5YtfEbFD/zpxg6jVzOtAkq5IombmOwFlDm2f+AiAIEjxwZG+f2Q0IWYl8pBuFUcalcktavMSiDElwCol3MA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJwcgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnJA/8CQh2yFrhLvUs+Hnp8Abf9gSwNu3vGFE1FXsThQgvWEZqFOQN\r\nWwo+JEH8phrSio412t2felvuUzfYYT3rR1+MvB9gzraNif0BFxBkc0LYEJFk\r\nbzPcaV7kZbXTZz6pSYzrhqhYj1E1FCJpkrVgtjuS62uPKBf6g3BxzX/q9Nbp\r\nvDk2Y+DdCZB6wscsXnCv1PcSPP0ZMdiG4CK48vS2hUHX6dV9jIkbhE55NYP/\r\nfqx37IQwp6jKhoadauavpcbFA1FrngzOBIqkmc//u4lfFQxtqRUFGaVCm2Ek\r\nDMsEFGJUk/FJ2tHvafW2ZPV2lhIMOaWSWbYmRJ8KdyzqgA0I+GeX2ll4sT95\r\nUDPZS8jVwOUgfyRsXhx47YHHAaIGeqA02keJSN1uguzT5NTZCUDvui06pADB\r\nHqNcFMxB+d0nddmuZ1bc0ngM+iYwfAJ0eIH/QHEA+mNjT5/aqvA5k1hyVRej\r\naiq5kcP3lpcD5fW9p/mpNzJGxTsaNAtQ1fta4JvYVSBhdHvFgrF/j0MwE9yz\r\nvmGGwJJcBwoR4OC9VJo+3BHJw/Hn/L+eS0kQ9Maqh6i1xosmh+LZx0Ou0tFr\r\nDC7ul+Y0emxCLT3VdQuPT4E77HYP7Feq8ZdI21ZkFI95ijt2cF+EsqtGumyh\r\ndC2VycYklKl6w660U2gueKMl8W7oJELhJ0w=\r\n=lAXz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.0_1663502112196_0.459291670155749"},"_hasShrinkwrap":false},"4.4.1":{"name":"playwright-testing-library","version":"4.4.1","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.26.0","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^4.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.26.0","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"4ecf17db808172817e75b5f8cca75d18be2d0a90","_id":"playwright-testing-library@4.4.1","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-mE1Yywxvwf3r6Ylaqlj7kYf7hvTHUkZY9/Oz7py5A6smFnCUHrG7Hs0fmFeeOLFeQ0kpKjWE/U4HczZU184rkA==","shasum":"d4e65c9e418230419cf60ed3f3582d48ff3e10a2","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.1.tgz","fileCount":68,"unpackedSize":702009,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnocqP8vZ9DNBydGMLXYYGmRwfQDKo090K5UejVD9SagIhANfm6ncTmFhF6fN9/g/nporiodwOpz9M29H7UPang96f"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLO1cACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRKw/8C4R3OVX85Ojse4gfux5QpSS0wjOQl7SOMKvxV3Xd2eycPePJ\r\n8h8Gc6ya7eyNrHKb0BAMMdPYMNwTPdW+qoAzUS+s++akKsodnnaE00rPFmYq\r\nXfD3fKJTzQFfjWjDm3Tg6qJ8vTOPZdXcCss57sD0HTH67CCO2jFg9rjIPx4Q\r\nJlpQruro9Ty4Kvu8Y7kQEF0vOrXT0mMcoNL9JJCBJ3FVtKICIf57ZMtpdeAG\r\noQZwKi7gN0lVwwu0FweG0rR9dUu+Yc+lHYWvgkAz6nCuZNSZK5fkqztPtw+f\r\n2ILw1seh+o0H4ViG4LVh73TNOmcVPNGiVlyU1m40/fRQUoWFXFH67wPkie65\r\npwFDVcbyTVszZBlbdbVeMrb97oJYLIE00tDELQ736XOq3cFWMtKQsSHD27dE\r\nX9+V2Z9PhMnrUbS+iHqDEy8LnaheODiy1g47Nl7YZp4tF7fmtEAp4XW5p5B3\r\nGl38iLcYs/p4nRI0dfwBsOctCs/wuWae3K0rpPHCOAylqa6AcYCU2nzaPiuy\r\nME2menbFa+AGNjkoik9iyZUcuttQOyZ+vep+toJFVl922vynwuc+3wtQLE0+\r\nhun8qXoKlSPx6VTLsiG2qaCdjMuWVGcw88MjZdJcdqTXefKN6BOdGplk4jSo\r\n3ITqvqNUx5X5snYQGbiT7Aod4bbAFNHMDJI=\r\n=71Gv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.1_1663888732322_0.0969759260246259"},"_hasShrinkwrap":false},"4.4.2":{"name":"playwright-testing-library","version":"4.4.2","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:fixture:locator":"playwright test test/fixture/locators.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.26.0","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^4.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.26.0","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"040f3be8ec1d16fcc8c4b2b9a4cf21cd239f6f15","_id":"playwright-testing-library@4.4.2","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-xxED4MBbb/T7+psdOHdXg7SL0ut4bujggt+ZxaQfskB9VKfs52BT0d1HsK96qFqWF+WCiGOx2Tm3XMyz6yfV+Q==","shasum":"671661a42beb7623509e44de9188d0c5a5f5d0a6","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.4.2.tgz","fileCount":68,"unpackedSize":706057,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGCeugd8tTKT2KmTFVB3aN2gTMyKf8gZcPIiej5QMfggIgMsKdEvNcEu5++q5ucODxkuaQhSqeZkZ11V81D3rN3TQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLpfrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSGg//XyzBISvn2D/ejiUVcKTLF9DrZccEw3L453MPMhbArw+qDE3p\r\niYDzJ5V7tffauvUX+rcGgb4u2O/mMH8GQLR9gyiSH5NRzbYoo+paD30twIg9\r\nvp9nnO0Quhw1Q3hNb/ZtLEh9aU80YSiImy9OwsgAKZ0MeQOYGgjRcVX0zCfY\r\nz1O6MtIwvS3WFTqRrjPK6nOnQzm43mEsgn1ApnDrTNJRPSTI3NXSRgyuw9tn\r\nbDFIkCkWWRGQgg+quY9lpNB5ljZ+gxFhFY9Q21Wf8QnVwak1hCFHGxj0vJ/0\r\nmRoz0BPFxq2vRz2X2VyTP6iLyHpJuraauXIRFijWYcisgy4UlImdM2KAm8yh\r\ni7FaS+65TIdqe/vk1xzgrm2CCtXkekT0Zm4DD7xnN5/9hu0w/RTrsnpDkiRa\r\nznkujDLE0AcyRE0sH1CmxvbofbrkzTC1bGiHwJ/axIiNpCPW0iBSeK32sV7s\r\n9rjlLsqCxHb4GjfpqJIyk6KzNKdvTwqGCGAC1Z3NKDjbmpvYry8aGdVD0EGa\r\njZ1uE/3Hy/8woOCFUCF87kc7b61iNx+gqB5Ie4zCbzP2TyOMCIsjEdQuxTCE\r\nyUMNKgjPY44t90Pd9Q7Gmk4vBBUKx8DkX1Dg91/BokkTeOUPXGF9lsRVR4hn\r\n+9LfYarkGa8DVcz799fSukYDVeN5y46lulA=\r\n=9JCU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.4.2_1663997931426_0.15053521704096817"},"_hasShrinkwrap":false},"4.5.0":{"name":"playwright-testing-library","version":"4.5.0","description":"playwright + dom-testing-library","main":"./dist/index.js","scripts":{"build":"run-s clean build:testing-library build:source","build:source":"tsc","build:testing-library":"rollup -c","ci-after-success":"hover-scripts ci-after-success","clean":"rimraf dist/*","commit-msg":"hover-scripts commit-msg","lint":"hover-scripts lint","pre-commit":"hover-scripts pre-commit --no-toc","prepare":"husky install","prepare:playwright-test":"run-s prepare:playwright-test:package prepare:playwright-test:imports build:source prepare:playwright-test:entries","prepare:playwright-test:entries":"generate-export-aliases","prepare:playwright-test:imports":"./playwright-test/prepare-package.js","prepare:playwright-test:package":"jscodeshift -t ./playwright-test/rename-imports.ts --extensions=ts --parser=ts ./lib","prepublishOnly":"npm run build","start:standalone":"hover-scripts test","test":"run-s build:testing-library test:standalone test:fixture","test:legacy":"run-s build:testing-library test:standalone test:fixture:legacy","test:fixture":"playwright test","test:fixture:legacy":"playwright test test/fixture/element-handles.test.ts","test:fixture:locator":"playwright test test/fixture/locators.test.ts","test:standalone":"hover-scripts test --no-watch","test:types":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"license":"MIT","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"config":{"exportAliases":{"fixture":"./dist/fixture"}},"dependencies":{"@testing-library/dom":"^7.31.2","wait-for-expect":"^3.0.2"},"devDependencies":{"@hover/javascript":"^6.53.0","@playwright/test":"^1.26.1","@rollup/plugin-commonjs":"^21.0.0","@rollup/plugin-node-resolve":"^13.0.5","@rollup/plugin-replace":"^4.0.0","@types/jest":"^27.0.2","@types/jscodeshift":"^0.11.2","generate-export-aliases":"^1.1.0","husky":"^8.0.1","jscodeshift":"^0.13.0","npm-run-all":"^4.1.5","playwright":"^1.26.1","rimraf":"^3.0.2","rollup":"^2.58.0","setimmediate":"^1.0.5","typescript":"^4.4.3"},"peerDependencies":{"@playwright/test":"^1.12.0","playwright":"^1.12.0"},"peerDependenciesMeta":{"playwright":{"optional":true},"@playwright/test":{"optional":true}},"engines":{"node":">=12"},"types":"./dist/index.d.ts","gitHead":"f837a8e93a1775ee3477ecc090bca5ddbf7a149e","_id":"playwright-testing-library@4.5.0","_nodeVersion":"14.20.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-jgeb/L9Xs1PI3LMQ0eup5w5AyYhHAvc0WyoIFn4RHxc16eZUqamu7Hkq7BYO24zP+byMAbUfk1G+xob/JlOqTg==","shasum":"abe31799e966b89b61dbf51fb539c853da05c2ab","tarball":"https://registry.npmjs.org/playwright-testing-library/-/playwright-testing-library-4.5.0.tgz","fileCount":68,"unpackedSize":714742,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtAORDUkt6RIAmxXJBhBx4yNdNYunY68rsPhR0Ba5jzAIhAOwSZhfk2aXFwvjPhrx5T0SfZn6J12sMvvmO0fDjiWwE"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNAaFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqECg//UZLjr95TZZhf5ckGV1Gi5ja95BkOT2qLFQ+iUsvmzbVNsHXw\r\nsxKq465DjqMqfqjAa8rylqmVqot1kKT59ynk+FFrTEhV1t7tQK0BEA/s8SYO\r\nHJhA26YllUZooM3rwW9CtQPRDq9ySHFWQERWrnoa8go24vaKdwJKgdz2u7Dt\r\nyLBCJ9QSm0MgUYBGHW+J3pdMO/Z6YoAui4yfPPhrBCO6aNDxw9EozbWF3w/n\r\ne4TLQTSE35py61X2/qO+pO0Eg41PERwDzEYtJR8ACkxtnxhKQTHnKZkTqZYn\r\n2smPEp61OajUBxlFaP/Pn4T111UYwZo4yQFaKiutfCyRR4Qgdcj7gpmCHIYG\r\n0mI+ruptoRzG1qqp0sD1FMkV9EFHTfdUdgXO75BUIGk0CPk1BqhGD6OaJGm2\r\ntz/txtpaXjG93L2aLNf47aHVIs03sY+aqJVxRReTzWvreqq3zaKaSjjN/hQ6\r\n34Sl5NlYYiBP256uRxH+qyBXFrLrXHxHqoOO2q4Y7sUBxpnTMxL7g5AqoZGd\r\ndyTLT0BcYwv4pS5jO7/Z3vBE3/DQ2NBSVKV+Ye/mffaFOqD+niP9cIYV2wlp\r\n8BliFTDGltELnCc58Cri77HkKc1kCY5dmetKnQNrypUfgyO8CU/nGN69jknM\r\ne1I65CAyqMwB2mO8QtRX6G3OfKUwcdfuiy8=\r\n=Gt7C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jrolfs","email":"jamie.rolfs@gmail.com"},"directories":{},"maintainers":[{"name":"jrolfs","email":"jamie.rolfs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/playwright-testing-library_4.5.0_1664353924911_0.9226184070939396"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-28T01:01:43.218Z","1.0.0":"2020-05-28T01:01:43.328Z","modified":"2022-12-22T20:41:34.061Z","1.1.0":"2020-05-28T22:35:53.344Z","1.2.0":"2020-06-01T20:35:59.085Z","1.2.1":"2020-06-02T17:02:41.709Z","2.0.0":"2020-07-08T23:37:32.816Z","2.1.0":"2020-07-09T22:57:22.445Z","2.2.0":"2020-07-30T18:43:19.661Z","2.3.0":"2020-08-14T22:13:16.326Z","2.4.0":"2020-08-14T22:23:43.906Z","2.5.0":"2020-08-18T23:34:22.492Z","2.6.0":"2020-09-01T23:11:24.020Z","2.7.0":"2020-10-07T01:07:15.105Z","2.7.1":"2021-03-06T00:15:13.417Z","2.7.2":"2021-03-09T23:57:45.604Z","3.0.0":"2021-05-23T01:20:21.443Z","3.0.1":"2021-10-01T18:27:48.536Z","4.0.0":"2021-10-03T09:05:08.994Z","4.0.0-beta.1":"2021-10-03T18:36:24.493Z","4.0.0-beta.2":"2021-10-03T18:43:20.120Z","4.0.0-beta.3":"2021-10-04T19:07:06.318Z","4.0.0-beta.4":"2021-10-04T19:14:34.809Z","4.0.0-beta.5":"2021-10-04T19:30:56.765Z","4.0.0-beta.6":"2021-10-04T19:41:54.546Z","4.0.0-beta.7":"2021-10-04T20:56:39.347Z","4.0.0-beta.9":"2021-10-05T19:51:06.656Z","4.0.0-beta.10":"2021-10-06T00:19:12.090Z","4.0.1":"2021-11-02T21:16:19.608Z","4.0.2":"2022-02-19T02:50:25.377Z","4.1.0":"2022-02-22T17:00:59.314Z","4.2.0":"2022-02-22T21:26:15.637Z","4.2.1":"2022-04-13T19:53:54.741Z","4.3.0-beta.1":"2022-06-01T22:02:16.878Z","4.3.0":"2022-07-25T22:28:23.353Z","4.3.1":"2022-08-25T01:09:52.937Z","4.4.0-beta.1":"2022-08-25T21:41:23.142Z","4.4.0-beta.2":"2022-08-26T20:09:13.050Z","4.4.0-alpha.1":"2022-09-03T05:14:55.685Z","4.4.0-beta.3":"2022-09-06T02:32:45.544Z","4.4.0-beta.4":"2022-09-07T22:10:44.727Z","4.4.0-beta.5":"2022-09-08T17:50:57.813Z","4.4.0-beta.6":"2022-09-14T01:20:08.218Z","4.4.0":"2022-09-18T11:55:12.406Z","4.4.1":"2022-09-22T23:18:52.538Z","4.4.2":"2022-09-24T05:38:51.684Z","4.5.0":"2022-09-28T08:32:05.154Z"},"maintainers":[{"email":"jamie.rolfs@gmail.com","name":"jamierolfs"}],"description":"playwright + dom-testing-library","homepage":"https://github.com/hoverinc/playwright-testing-library#readme","keywords":["playwright","dom-testing-library","testing-library","testing","utility"],"repository":{"type":"git","url":"git+https://github.com/hoverinc/playwright-testing-library.git"},"author":{"name":"Patrick Hulce","email":"patrick.hulce@gmail.com"},"bugs":{"url":"https://github.com/hoverinc/playwright-testing-library/issues"},"license":"MIT","readme":"<div align=\"center\">\n  <br>\n  <header>\n    <img src=\"https://user-images.githubusercontent.com/288160/126050717-dd76eb80-ef06-40e0-97e8-72c20c9f8f20.png\" height=\"64\" />\n  </header>\n  <br>\n  <h1>playwright-testing-library</h1>\n  <p>🔍 Find elements in <strong>playwright</strong> like your users  with queries from <strong>@testing-library/dom</strong></p>\n</div>\n\n<div align=\"center\">\n\n[![Build Status][build-badge]][build-link]\n[![Test Coverage][codecov-badge]][codecov-link]\n[![Code Style][prettier-badge]][prettier-link]\n[![Package Version][npm-badge]][npm-link] <br>\n[![MIT License][license-badge]][license-link]\n[![Conventional Commits][conventional-commits-badge]][conventional-commits-link]\n[![Maintenance][maintenance-badge]][maintenance-link]\n\n</div>\n\n<br>\n\n## 🎛 Features\n\nAll of your favorite user-centric querying functions from **@testing-library/react** and **@testing-library/dom** available from within Playwright!\n\n- Test [fixture](https://playwright.dev/docs/test-fixtures) for **@playwright/test** via **@playwright-testing-library/test**\n  - ✨ **New** — `Locator` queries fixture (`locatorFixtures`) [↓](#playwright-test-fixture)\n  - `ElementHandle` queries fixture (`fixtures`) [↓](#legacy-playwright-test-fixture)\n- Standalone queries for **playwright** via **playwright-testing-library**\n  - `ElementHandle` queries (`getDocument` + `queries`) [↓](#standalone-playwright-queries)\n  - Asynchronous `waitFor` assertion helper (via **[wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect)**)\n\n## 🌱 Installation\n\n```bash\n# For use with Playwright Test (@playwright/test)\nnpm install --save-dev @playwright-testing-library/test\n\n# For use with Playwright (playwright)\nnpm install --save-dev playwright-testing-library\n```\n\n## 📝 Usage\n\nThere are currently a few different ways to use Playwright Testing Library, depending on how you use Playwright. However, the recommended approach is using the `Locator` [queries fixture](#playwright-test-fixture) with Playwright Test (**@playwright/test**).\n\n> ⚠️ The `ElementHandle` query APIs were created before Playwright introduced its `Locator` API and will be replaced in the next major version of Playwright Testing Library. If you can't use **@playwright/test** at the moment, you'll need to use the `ElementHandle` query API, but a migration path will be provided when we switch to the new `Locator` APIs.\n\n### Playwright Test Fixture\n\n> 🔖 Added in [**4.4.0**](https://github.com/testing-library/playwright-testing-library/releases/tag/v4.4.0)\n\nUsing the `Locator` Playwright Test (**@playwright/test**) fixture with **@playwright-testing-library/test**.\n\n#### Setup\n\n```ts\nimport {test as base} from '@playwright/test'\nimport {\n  locatorFixtures as fixtures,\n  LocatorFixtures as TestingLibraryFixtures,\n} from '@playwright-testing-library/test/fixture'\n\nconst test = base.extend<TestingLibraryFixtures>(fixtures)\n\nconst {expect} = test\n\ntest('my form', async ({screen, within}) => {\n  // Screen provides `Locator` queries scoped to current Playwright `Page`\n  const formLocator = screen.getByTestId('my-form')\n\n  // Scope queries to `Locator` with `within`\n  // (note that this is a fixture from `test`, not the `within` import)\n  const emailInputLocator = within(formLocator).getByLabelText('Email')\n\n  // Interact via `Locator` API 🥳\n  await emailInputLocator.fill('email@playwright.dev')\n  await emailInputLocator.press('Enter')\n\n  // Screen also provides Playwright's `Page` API\n  screen.goto('/account')\n\n  const emailLocator = screen.getByRole('heading', {level: 2})\n\n  // Assert via `Locator` APIs 🎉\n  await expect(emailLocator).toHaveText('email@playwright.dev')\n})\n```\n\n#### Async Methods\n\nThe `findBy` queries work the same way as they do in [Testing Library](https://testing-library.com/docs/dom-testing-library/api-async) core in that they return `Promise<Locator>` and are intended to be used to defer test execution until an element appears on the page.\n\n```ts\ntest('my modal', async ({screen, within}) => {\n  // Here we wait for a modal to appear asynchronously before continuing\n  // Note: the timeout for `findBy` queries is configured with `asyncUtilTimeout`\n  const modalLocator = await screen.findByRole('dialog')\n\n  // Once the modal is visible, we can interact with its contents and assert\n  await expect(modalLocator).toHaveText(/My Modal/)\n  await within(modalLocator).getByRole('button', {name: 'Okay'}).click()\n\n  // We can also use `queryBy` methods to take advantage of Playwright's `Locator` auto-waiting\n  // See: https://playwright.dev/docs/actionability\n  // Note: this will use Playwright's timeout, not `asyncUtilTimeout`\n  await expect(screen.queryByRole('dialog')).toBeHidden()\n})\n```\n\n#### Chaining\n\n> 🔖 Added in [**4.5.0**](https://github.com/testing-library/playwright-testing-library/releases/tag/v4.5.0)\n\nAs an alternative to the `within(locator: Locator)` function you're familiar with from Testing Library, Playwright Testing Library also supports chaining queries together.\n\nAll synchronous queries (`get*` + `query*`) return `Locator` instances are augmented with a `.within()` method (`TestingLibraryLocator`). All asynchronous queries (`find*`) return a special `LocatorPromise` that also supports `.within()`. This makes it possible to chain queries, including chaining `get*`, `query*` and `find*` interchangeably.\n\n> ⚠️ Note that including any `find*` query in the chain will make the entire chain asynchronous\n\n##### Synchronous\n\n```ts\ntest('chaining synchronous queries', async ({screen}) => {\n  const locator = screen.getByRole('figure').within().findByRole('img')\n\n  expect(await locator.getAttribute('alt')).toEqual('Some image')\n})\n```\n\n##### Synchronous + Asynchronous\n\n```ts\ntest('chaining synchronous queries + asynchronous queries', ({screen}) => {\n  //              ↓↓↓↓↓ including any `find*` queries makes the whole chain asynchronous\n  const locator = await screen\n    .getByTestId('modal-container') // Get \"modal container\" or throw (sync)\n    .within()\n    .findByRole('dialog') // Wait for modal to appear (async, until `asyncUtilTimeout`)\n    .within()\n    .getByRole('button', {name: 'Close'}) // Get close button within modal (sync)\n\n  expect(await locator.textContent()).toEqual('Close')\n})\n```\n\n#### Configuration\n\nThe `Locator` query API is configured using Playwright's `use` API. See Playwright's documentation for [global](https://playwright.dev/docs/api/class-testconfig#test-config-use), [project](https://playwright.dev/docs/api/class-testproject#test-project-use), and [test](https://playwright.dev/docs/api/class-test#test-use).\n\n##### Global\n\nConfiguring Testing Library globally in `playwright.config.ts`\n\n```ts\nimport type {PlaywrightTestConfig} from '@playwright/test'\n\nconst config: PlaywrightTestConfig = {\n  use: {\n    // These are the defaults\n    testIdAttribute: 'data-testid',\n    asyncUtilTimeout: 1000,\n    asyncUtilExpectedState: 'visible',\n  },\n}\n\nexport default config\n```\n\n##### Local\n\nScoping Testing Library configuration to test suites or `describe` blocks\n\n```ts\nimport {test as base} from '@playwright/test'\nimport {\n  locatorFixtures as fixtures,\n  LocatorFixtures as TestingLibraryFixtures,\n} from '@playwright-testing-library/test/fixture'\n\nconst test = base.extend<TestingLibraryFixtures>(fixtures)\n\nconst {describe, expect, use} = test\n\n// Entire test suite\nuse({testIdAttribute: 'data-custom-test-id'})\n\ndescribe(() => {\n  // Specific block\n  use({\n    testIdAttribute: 'some-other-test-id',\n    asyncUtilsTimeout: 5000,\n    asyncUtilExpectedState: 'attached',\n  })\n\n  test('my form', async ({screen}) => {\n    // ...\n  })\n})\n```\n\n### Legacy Playwright Test Fixture\n\nUsing the `ElementHandle` Playwright Test (**@playwright/test**) fixture with **@playwright-testing-library/test**.\n\n> ⚠️ See note in [Usage](#-usage) as you should be using the `Locator` fixture if possible\n\n#### Setup\n\n```ts\nimport {test as base} from '@playwright/test'\nimport {fixtures, within, TestingLibraryFixtures} from '@playwright-testing-library/test/fixture'\n\nconst test = base.extend<TestingLibraryFixtures>(fixtures)\n\nconst {expect} = test\n\ntest('my form', async ({page, queries}) => {\n  // Query methods are available in `test` blocks\n  const formHandle = await queries.getByTestId('my-form')\n\n  // Scope queries to an `ElementHandle` with `within`\n  const emailInputHandle = await within(formHandle).getByLabelText('Email')\n\n  // Interact via `ElementHandle` API\n  await emailInputHandle.fill('email@playwright.dev')\n  await emailInputHandle.press('Enter')\n\n  page.goto('/account')\n\n  const emailHandle = queries.getByRole('heading', {level: 2})\n\n  // Assert via `ElementHandle` APIs\n  expect(await emailHandle.textContent()).toEqual('email@playwright.dev')\n})\n```\n\n#### Configuration\n\n```ts\nimport {test as base} from '@playwright/test'\nimport {\n  configure,\n  fixtures,\n  within,\n  TestingLibraryFixtures,\n} from '@playwright-testing-library/test/fixture'\n\nconst test = base.extend<TestingLibraryFixtures>(fixtures)\n\nconst {beforeEach, describe, expect} = test\n\n// Global (these are the defaults)\nconfigure({asyncUtilTimeout: 1000, testIdAttribute: 'data-testid'})\n\n// Specific block\ndescribe('my page', () => {\n  beforeEach(() => configure({asyncUtilTimeout: 5000, testIdAttribute: 'data-custom-test-id'}))\n\n  afterEach(() => configure({}))\n\n  test('my form', async ({page, queries}) => {\n    // ...\n  })\n})\n```\n\n### Standalone Playwright Queries\n\nUsing the `ElementHandle` queries with Playwright (**playwright**) and **playwright-testing-library**.\n\n> ⚠️ See note in [Usage](#-usage) as you should be using **@playwright/test** with the `Locator` fixture if possible. The `Locator` queries will be made available for standalone **playwright** in the next major release.\n\n```ts\nimport {beforeAll, expect, jest, test} from '@jest/globals'\nimport {webkit} from 'playwright' // or 'firefox' or 'chromium'\nimport {getDocument, queries, within} from 'playwright-testing-library'\n\nlet browser: playwright.Browser\nlet page: playwright.Page\n\nbeforeAll(() => {\n  const browser = await webkit.launch()\n  const page = await browser.newPage()\n})\n\ntest('my form', () => {\n  // Get `ElementHandle` for document from `Page`\n  const documentHandle = await getDocument(page)\n\n  // Global query methods take document handle as the first parameter\n  const formHandle = await queries.getByTestId(documentHandle, 'my-form')\n\n  // Scope queries to an `ElementHandle` with `within`\n  const emailInputHandle = await within(formHandle).getByLabelText('Email')\n\n  // Interact via `ElementHandle` API\n  await emailInputHandle.fill('email@playwright.dev')\n  await emailInputHandle.press('Enter')\n\n  page.goto('/account')\n\n  const accountHandle = getDocument(page)\n  const emailHandle = queries.getByRole(accountHandle, 'heading', {level: 2})\n\n  // Assert via `ElementHandle` APIs\n  expect(await emailHandle.textContent()).toEqual('email@playwright.dev')\n})\n```\n\n#### Configuration\n\n```ts\nimport {beforeEach, afterEach, expect, jest, test} from '@jest/globals'\nimport {configure, getDocument, queries, within} from 'playwright-testing-library'\n\n// Global (these are the defaults)\nconfigure({asyncUtilTimeout: 1000, testIdAttribute: 'data-testid'})\n\n// Specific block\ndescribe('my page', () => {\n  beforeEach(() => configure({asyncUtilTimeout: 5000, testIdAttribute: 'data-custom-test-id'}))\n\n  afterEach(() => configure({}))\n\n  test('my form', async ({page, queries}) => {\n    // ...\n  })\n})\n```\n\n## 🔌 API\n\n### Testing Library\n\nAll queries from **[@testing-library/dom](https://github.com/testing-library/dom-testing-library#usage)** are supported.\n\n> 📝 The **`find*`** queries for the `Locator` queries return `Promise<Locator>` which resolves when the element is found before the timeout specified via `asyncUtilTimeout`\n\n### Additional\n\nUnique methods, not part of **@testing-library/dom**\n\n> ⚠️ These only apply to the `ElementHandle` queries\n\n- Get an `ElementHandle` for the document\n\n  ```ts\n  getDocument(page: playwright.Page): ElementHandle\n  ```\n\n- Wait for an assertion (wrapper around [wait-for-expect](https://github.com/TheBrainFamily/wait-for-expect))\n\n  ```ts\n  waitFor(\n    expectation: () => void | Promise<void>,\n    timeout?: number,\n    interval?: number\n  ): Promise<{}>\n  ```\n\n## Known Limitations\n\n- Only `testIdAttribute` and `asyncUtilTimeout` are supported as configuration options\n- Async utilities `waitForElement`, `waitForElementToBeRemoved` and `waitForDomChange` are not exposed. Consider using a `find*` query or a Playwright built-in like [`Locator.waitFor()`](https://playwright.dev/docs/api/class-locator#locator-wait-for).\n- The `fireEvent` method is not exposed, use Playwright's built-ins instead.\n- Assertion extensions from [**jest-dom**](https://testing-library.com/docs/ecosystem-jest-dom/) are not compatible, use Playwright Test if possible.\n\n### Locator Queries\n\n- The [`getNodeText()`](https://testing-library.com/docs/dom-testing-library/api-custom-queries/#getnodetext) function is currently unsupported.\n- When using a function for [`TextMatch`](https://testing-library.com/docs/queries/about/#textmatch), the function cannot reference its closure scope\n\n  ```ts\n  // ✅ This is supported\n  screen.getByText(content => content.startsWith('Foo'))\n\n  // ❌ This is not supported\n  const startsWithFoo = (content: string) => content.startsWith('Foo')\n\n  screen.getByText(content => startsWithFoo(content))\n  ```\n\n## Special Thanks\n\n- [pptr-testing-library](https://github.com/testing-library/pptr-testing-library)\n- [@testing-library/dom](https://github.com/testing-library/dom-testing-library)\n\n## Related Playwright Test Utilities\n\n- [jest-playwright](https://github.com/playwright-community/jest-playwright)\n- [expect-playwright](https://github.com/playwright-community/expect-playwright)\n\n## LICENSE\n\nMIT\n\n## Maintenance\n\nThis project is actively maintained by engineers at\n[@hoverinc](https://github.com/hoverinc/) 😀.\n\n[codecov-badge]: https://codecov.io/gh/hoverinc/playwright-testing-library/branch/main/graph/badge.svg\n[codecov-link]: https://codecov.io/gh/hoverinc/playwright-testing-library\n[conventional-commits-badge]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-link]: https://conventionalcommits.org\n[david-badge]: https://david-dm.org/hoverinc/playwright-testing-library.svg\n[david-link]: https://david-dm.org/hoverinc/playwright-testing-library\n[license-badge]: https://img.shields.io/npm/l/@hover/javascript.svg\n[license-link]: https://github.com/hoverinc/hover-javascript/blob/master/LICENSE\n[maintenance-badge]: https://img.shields.io/badge/maintenance-active-247ddc?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAcCAYAAACUJBTQAAAB1ElEQVRIibWWPUtdQRCGH0VNF/wCCVjYCxr/gZWdhYVgLQYbm/wACTYxxA8SSBDtbKwUbfQWkiJFAgkkmHBBY6U2CXaCGlDDG1buxePOnt17bsgD28zOzjtnZvbuRVKR1SFpVdKepEe1njOGnOWCz0q60B1lSa05/oVE2iTNSfqdCZ7lSyWB0NmkSJekeUmXJqzlayWZUJxckUUTJs23mFAjlhNjSdMHfAQ6g54hZUnDdXyN44ek7iKNH4w0PMaeX7pQ8Ox6HQkWww3Dw1hPWoAJ4BxoB4aNR5oB4APQ5vekUdITSceZDLcreyORrGPcfpEL0CBpVNJRwLmUSWLS7NbGpju8FXEteT2qR+jQ9aS3QK2XgUljjXPpRC6iLpYV4KmxRghNVy28Aqb+t4jjLbBhrAH+RcRxZSwBUiINxlIHKZE/xlIHTTlHBDwHjoDPwHtgF/gEnBnvFJVfzSrXkpYyfxKGvIu14F3ONXP1LOWmzEPjpuWl92j55XyQyDnEjRN5AbwD9gMOPkV7tAPMOJE3ZuuOFmOpjS3gGfCdQDl8fgGnGVtzwt8F7wdGqgKOvOmq4iarB3gMjAFlb78qug5MAwehIO4tKViJe4wDP4FSrgfwF/ntR8JxRSf3AAAAAElFTkSuQmCC\n[maintenance-link]: https://github.com/hoverinc/playwright-testing-library#maintenance\n[npm-badge]: https://img.shields.io/npm/v/playwright-testing-library\n[npm-link]: https://www.npmjs.com/package/playwright-testing-library\n[prettier-badge]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?logo=prettier\n[prettier-link]: https://prettierjs.org/en/download/\n[build-badge]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml/badge.svg\n[build-link]: https://github.com/hoverinc/playwright-testing-library/actions/workflows/build.yml\n","readmeFilename":"README.md"}