{"name":"@midscene/web","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.","version":"0.5.2","jsnext:source":"./src/index.ts","main":"./dist/lib/index.js","types":"./dist/types/index.d.ts","exports":{".":"./dist/lib/index.js","./puppeteer":"./dist/lib/puppeteer.js","./playwright":"./dist/lib/playwright.js","./playwright-report":"./dist/lib/playwright-report.js","./debug":"./dist/lib/debug.js","./constants":"./dist/lib/constants.js","./html-element":"./dist/lib/html-element/index.js"},"typesVersions":{"*":{".":["./dist/types/index.d.ts"],"puppeteer":["./dist/types/puppeteer.d.ts"],"playwright":["./dist/types/playwright.d.ts"],"playwright-report":["./dist/types/playwright-report.d.ts"],"debug":["./dist/types/debug.d.ts"],"constants":["./dist/types/constants.d.ts"],"html-element":["./dist/types/html-element/index.d.ts"]}},"dependencies":{"openai":"4.57.1","inquirer":"10.1.5","@xmldom/xmldom":"0.8.10","@midscene/core":"0.5.2","@midscene/shared":"0.5.2"},"devDependencies":{"@modern-js/module-tools":"2.58.2","@playwright/test":"1.44.1","@types/fs-extra":"11.0.4","@types/node":"^18.0.0","@wdio/types":"9.0.4","dotenv":"16.4.5","fs-extra":"11.2.0","js-sha256":"0.11.0","playwright":"1.44.1","puppeteer":"23.0.2","typescript":"~5.0.4","vitest":"^1.6.0","webdriverio":"9.0.6"},"peerDependencies":{"@playwright/test":"^1.44.1","playwright":"^1.44.1","puppeteer":">=20.0.0","webdriverio":">=9.0.6"},"peerDependenciesMeta":{"@playwright/test":{"optional":true},"puppeteer":{"optional":true},"webdriverio":{"optional":true}},"engines":{"node":">=16.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"license":"MIT","scripts":{"dev":"modern dev","build":"npm run build:pkg && npm run build:script","build:pkg":"modern build -c ./modern.config.ts","build:script":"modern build -c ./modern.inspect.config.ts","build:watch":"modern build -w -c ./modern.config.ts & modern build -w -c ./modern.inspect.config.ts","test":"vitest --run","test:u":"vitest --run -u","test:ai":"AI_TEST_TYPE=web npm run test","test:ai:cache":"MIDSCENE_CACHE=true AI_TEST_TYPE=web npm run test","test:ai:all":"npm run test:ai:web && npm run test:ai:native","test:ai:native":"MIDSCENE_CACHE=true AI_TEST_TYPE=native npm run test","new":"modern new","upgrade":"modern upgrade","e2e":"playwright test --config=playwright.config.ts","e2e:report":"MIDSCENE_REPORT=true playwright test --config=playwright.config.ts","e2e:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts","e2e:ui":"playwright test --config=playwright.config.ts --ui","e2e:ui:cache":"MIDSCENE_CACHE=true playwright test --config=playwright.config.ts  --ui"},"_id":"@midscene/web@0.5.2","_integrity":"sha512-yJy0mTeFG50I0C4w2QirsYKRUg3x1tcISvvsyArZfucqomHk0p5AxVe8SzLj/EDc+6/FgOs9rxlL+MCb5HUaiw==","_resolved":"/tmp/e3e23322d66941011742030ad3ed9079/midscene-web-0.5.2.tgz","_from":"file:midscene-web-0.5.2.tgz","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"shasum":"3ad8fb0bc9b67332ee5cb05133552a6e79036140","size":147526,"noattachment":false,"key":"/@midscene/web/-/@midscene/web-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@midscene/web/download/@midscene/web-0.5.2.tgz"},"_npmUser":{"name":"zhoushaw","email":"466150516@qq.com"},"directories":{},"maintainers":[{"name":"jingkai.zhao","email":""},{"name":"yuyutaotao","email":""},{"name":"zhoushaw","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web_0.5.2_1728715053770_0.3192586212883588"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-12T06:37:33.961Z","publish_time":1728715053961,"_source_registry_name":"default","_cnpm_publish_time":1728715053961,"dist-tags":{"beta":"0.17.6-beta-20250605050844.0","latest":"0.17.5"}}