{"name":"@midscene/web","version":"0.6.0","license":"MIT","_id":"@midscene/web@0.6.0","maintainers":[{"name":"jingkai.zhao","email":""},{"name":"yuyutaotao","email":""},{"name":"zhoushaw","email":""}],"dist":{"shasum":"bc9fce55bcb44319f4f4b73b880d02b3c1259047","size":147512,"noattachment":false,"key":"/@midscene/web/-/@midscene/web-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@midscene/web/download/@midscene/web-0.6.0.tgz"},"main":"./dist/lib/index.js","_from":"file:midscene-web-0.6.0.tgz","types":"./dist/types/index.d.ts","engines":{"node":">=16.0.0"},"exports":{".":"./dist/lib/index.js","./debug":"./dist/lib/debug.js","./constants":"./dist/lib/constants.js","./puppeteer":"./dist/lib/puppeteer.js","./playwright":"./dist/lib/playwright.js","./html-element":"./dist/lib/html-element/index.js","./playwright-report":"./dist/lib/playwright-report.js"},"scripts":{"dev":"modern dev","e2e":"playwright test --config=playwright.config.ts","new":"modern new","test":"vitest --run","build":"npm run build:pkg && npm run build:script","e2e:ui":"playwright test --config=playwright.config.ts --ui","test:u":"vitest --run -u","test:ai":"AI_TEST_TYPE=web npm run test","upgrade":"modern upgrade","build:pkg":"modern build -c ./modern.config.ts","e2e:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts","e2e:report":"MIDSCENE_REPORT=true playwright test --config=playwright.config.ts","build:watch":"modern build -w -c ./modern.config.ts & modern build -w -c ./modern.inspect.config.ts","test:ai:all":"npm run test:ai:web && npm run test:ai:native","build:script":"modern build -c ./modern.inspect.config.ts","e2e:ui:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts  --ui","test:ai:cache":"MIDSCENE_CACHE=true AI_TEST_TYPE=web npm run test","test:ai:native":"MIDSCENE_CACHE=true AI_TEST_TYPE=native npm run test"},"_npmUser":{"name":"zhoushaw","email":"466150516@qq.com"},"_resolved":"/tmp/39e38f43bc9480e25aba4cc139fe855c/midscene-web-0.6.0.tgz","_integrity":"sha512-uZuAAgPKEn6ItMcBOtreAjsIOL+44YtTlGr7u3mxChWldoh3GDsZ0sI3U5igJLungrcXlcIhDtA//egl1wAk+g==","_npmVersion":"10.7.0","description":"An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language. See https://midscenejs.com/ for details.","directories":{},"_nodeVersion":"18.20.4","dependencies":{"openai":"4.57.1","inquirer":"10.1.5","@midscene/core":"0.6.0","@xmldom/xmldom":"0.8.10","@midscene/shared":"0.6.0"},"jsnext:source":"./src/index.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"typesVersions":{"*":{".":["./dist/types/index.d.ts"],"debug":["./dist/types/debug.d.ts"],"constants":["./dist/types/constants.d.ts"],"puppeteer":["./dist/types/puppeteer.d.ts"],"playwright":["./dist/types/playwright.d.ts"],"html-element":["./dist/types/html-element/index.d.ts"],"playwright-report":["./dist/types/playwright-report.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"16.4.5","vitest":"^1.6.0","fs-extra":"11.2.0","js-sha256":"0.11.0","puppeteer":"23.0.2","playwright":"1.44.1","typescript":"~5.0.4","@types/node":"^18.0.0","@wdio/types":"9.0.4","webdriverio":"9.0.6","@types/fs-extra":"11.0.4","@playwright/test":"1.44.1","@modern-js/module-tools":"2.58.2"},"peerDependencies":{"puppeteer":">=20.0.0","playwright":"^1.44.1","webdriverio":">=9.0.6","@playwright/test":"^1.44.1"},"peerDependenciesMeta":{"puppeteer":{"optional":true},"webdriverio":{"optional":true},"@playwright/test":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/web_0.6.0_1728720633580_0.6216436948359771","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-10-12T08:10:33.864Z","publish_time":1728720633864,"_source_registry_name":"default","_cnpm_publish_time":1728720633864,"dist-tags":{"beta":"0.17.6-beta-20250605050844.0","latest":"0.17.5"}}