19 Commits

Author SHA1 Message Date
Leyang
56cfbd9125
fix(web-integration): output opt is invalid in yaml (#777)
* fix(web-integration): output opt is invalid in yaml

* test(cli): fix

* fix(cli): tests
2025-05-29 10:26:18 +08:00
Zhou Xiao
6468bb0206
refactor(logger): use log file output instead of command line output in Node (#509)
* chore: add element detail info

* chore: add element detail info

* chore: add element detail info

* chore: optimize logger logic

* chore: optimize logger logic
2025-03-31 19:22:39 +08:00
Leyang
bf9b4e06e7
feat: migrate android code to @midscene/android (#505) 2025-03-26 18:59:50 +08:00
Leyang
934a1e2b5d
use adb instead of appium (#483)
* feat: enable search area for locate

* fix: update evaluation

* fix: locator

* feat: show searchArea in report

* chore: add yaml support for aiTap

* feat: use adb instead appium

* feat: Adds debugging information and reconstructs input text capabilities

* feat: refactoring Android related functions and adding android modules

* feat: update the image scaling algorithm, adjust the Android page class to support device scaling, and remove test files that are no longer needed

* feat: adjust the Android page class to support device scaling, and remove test files that are no longer needed

* feat: use appium-adb instead of bare command

* fix: update entry for @midscene/android

* feat: optimize the screenshot processing logic, add a backup mechanism when screenshots fail, and update test cases to accommodate new features

* fix: rethrow error

* feat: add Android debug configuration options and update documentation

* chore: fix code style in #483 (#492)

* fix: remove try for error handle by outside

---------

Co-authored-by: yutao <yutao.tao@bytedance.com>
Co-authored-by: linyibing <linyibing@bytedance.com>
Co-authored-by: yuyutaotao <167746126+yuyutaotao@users.noreply.github.com>
2025-03-25 22:45:05 +08:00
yuyutaotao
2c5ea87131
fix: ai test (#460)
* fix: ai test

* fix: ci test

* fix: evaluation test

* fix: test

* fix: test

* fix: ai test

* fix: ai test
2025-03-12 13:49:50 +08:00
Zhou Xiao
edf0871fea
feat(browser): Add the forceSameTabNavigation configuration to prevent AI from opening new pages during operations, thus avoiding task interruptions. (#389)
* feat(tab-control): enhance the configuration to limit AI from opening new tabs during operations, preventing failures.

* chore: optimize evaluate error

* chore: resolve navigation error

* fix(browser): add forceSameTabNavigation config toe limit open new tab

* chore: upgrade vitest version

* fix: typo (#390)

---------

Co-authored-by: yuyutaotao <167746126+yuyutaotao@users.noreply.github.com>
2025-02-14 21:54:47 +08:00
Zhou Xiao
8e69f8d151
fix(keybord): resolve selectAll/Copy/Paste event (#384)
* fix(keybord): resolve selectAll/Copy/Paste event

* chore: fix e2e test

* chore: upgrade deps

* chore: add keybord commands  ref
2025-02-13 15:53:53 +08:00
Zhou Xiao
e3eb6f6fbc
fix: resolve shared exports error (#335) 2025-01-27 16:16:42 +08:00
yuyutaotao
ae49685348
feat: add bridge mode for extension (#228) 2025-01-07 11:10:28 +08:00
yuyutaotao
05dad23bfd
chore: print yaml file in chrome extension (#205) 2024-12-25 20:23:12 +08:00
Zhou xiao
eafa5bfa20
feat(cache): The cache is generalized to support puppeteers and mobile terminals (#85)
* feat(cache): The cache is generalized to support Puppeteers and mobile terminals

* chore: update cache test

* chore: update cache test

* chore: update cache test

* docs: update cache doc

* chore: update ai test command

* chore: update ai test command

* chore: update ai test command

* chore: optimize cache logic

* chore: update get dir path logic

* chore: update get dir path logic
2024-09-06 17:19:35 +08:00
yuyutaotao
52bda878aa
fix(web-extract): fix the extractor for form item like <input /> (#65) 2024-08-26 11:09:39 +08:00
Zhou xiao
b07f83dee1
workflow(ci): optimize ai unit test (#56) 2024-08-20 07:41:08 +08:00
yuyutaotao
7edc2be46d
feat: implement .aiAssert, update some docs (#38)
* feat: implement .aiAssert, update some docs

* fix: lint

* fix: ci

* feat: update quick-start
2024-08-06 10:00:25 +08:00
Zhou xiao
e1ae31ac17
workflow(ci): optimize biome lint (#31)
* workflow(ci): format code

* workflow(ci): format code

* workflow(ci): format code

* workflow(ci): format code

* workflow(ci): format code
2024-08-04 08:28:19 +08:00
Zhou xiao
cd775aff41
feat(web): added ai cache capability (#18)
* chore: optimize test case

* chore: optimize test case

* chore: optimize report path

* chore: add task cache logic

* refactor(report): optimize ai report

* chore: save cache logic

* chore: modify cache logic

* chore: modify cache logic

* chore: modify cache logic

* chore: modify unit test case

* chore: modify unit test case

* chore: optimize  test case

* chore: add cache logic

* chore: optimize cache logic

* chore: optimize cache logic

* chore: optimize cache logic

* chore: update cache file

* chore: update cache file

* chore: update cache file

* chore: update cache file

* chore: Added cache version determination

* chore: Added cache version determination

* chore: add cache logic

* refactor(web): use hash replace index number id

* chore: add cache logic

* chore: fix unit test snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: add cache test

* chore: optimize test command

* chore: optimize cache logic

* chore: optimize cache logic

* chore: update snapshot

* chore: update cache

* chore: delete unless file

* chore: update test data

* chore: update test data

* chore: fix build command

* chore: update cache logic
2024-08-01 15:46:40 +08:00
yuyutaotao
beeebba0fc
feat(web): export puppeteer integration (#11)
* feat: puppeteer integration

* feat: export puppeteer agent

* fix: bug of insight visualizer
2024-07-28 08:49:57 +08:00
Zhou xiao
47178bde1b
workflow(ci): add ci action and fix unit test (#4)
* workflow(ci): add ci action and fix unit test

* workflow(ci): fix ci setup pnpm version

* chore: delete unless command

* chore: modify ci test command

* chore: fix lock

* chore: add pr tag yml

* chore: add disable ai test
2024-07-25 10:45:56 +08:00
zhouxiao.shaw
fa50c3bdae feat: AI-driven browser and visualization 2024-07-23 16:25:11 +08:00