Commit Graph

504 Commits

Author SHA1 Message Date
Magnus Müller 4457ae1b04 Early Bailout & Smart Node Processing; Batch DOM Operations: - amazon full 2.2 seconds 2025-02-19 10:26:54 -08:00
Magnus Müller fc5a8991b4 Use cahce with weakmap for opperations 2025-02-19 10:20:27 -08:00
Magnus Müller 36de8184e4 Performance Metrics log as debug 2025-02-19 08:59:55 -08:00
Magnus Müller 9c502e6d3d Remove viewportCoordinates - 3x speedup on amazon to 5sec 2025-02-19 08:48:55 -08:00
Magnus Müller 4f8238e54d Elements outside viewport are on top by default, and early stop 2025-02-19 08:10:22 -08:00
Magnus Müller 4bca84b80f Performance metrics 2025-02-19 07:48:21 -08:00
Magnus Müller b097171797 Performance metrics 2025-02-18 15:58:57 -08:00
Magnus Müller 75d7e455a4 Merge remote-tracking branch 'origin/gregor/random-restructure' into dev 2025-02-18 12:05:17 -08:00
Magnus Müller 65703c4afc Remove page from test 2025-02-18 11:31:40 -08:00
Magnus Müller 9b3331be88 Split _build_dom_tree into 2 functions 2025-02-18 11:19:32 -08:00
Magnus Müller d34242c3c6 Fix bounding box for iframes 2025-02-18 11:13:48 -08:00
Magnus Müller 9824b678c8 Check scrolling for text nodes 2025-02-18 10:20:44 -08:00
Magnus Müller ebee83e412 Seperate checks if text is on top 2025-02-18 10:06:37 -08:00
Magnus Müller 52d82008e4 Check if text node is visable 2025-02-18 10:06:21 -08:00
Magnus Müller ecb749abb3 Remove link 2025-02-18 07:51:11 -08:00
Magnus Müller f31d5737d1 Simplify test 2025-02-17 22:21:15 -08:00
Magnus Müller 887f177342 Fixed highlights and scrolling for multiple scrollers 2025-02-17 22:13:08 -08:00
Magnus Müller 11103d6bba Fix for isOnTop isInViewport - scroll as fallback 2025-02-17 21:28:46 -08:00
Matic Zavadlal a5a026b053 remove lmnr 2025-02-17 13:18:38 +01:00
Magnus Müller 4ec5fe4378 Include in viewport parameter 2025-02-15 09:00:24 -08:00
Magnus Müller cfa41e17b6 Seperate isTop and is in viewport 2025-02-14 07:30:27 -08:00
Matic Zavadlal 88dfabea5b Merge branch 'main' into matic/random 2025-02-13 13:33:09 +01:00
Magnus Müller 6dd84bc8b1 Include canvas in extraction 2025-02-12 23:27:31 -08:00
Magnus Müller 7e40b6d782 Exclude label as interactive, include iframe bodies 2025-02-12 23:00:51 -08:00
Magnus Müller 0ccbb651f6 Extraction test script 2025-02-12 22:59:46 -08:00
Magnus Müller f8ceb5a047 Merge pull request #641 from PaperBoardOfficial/fix-redundant-a-tag
Fix redundant <a> tag
2025-02-11 22:36:49 -08:00
Magnus Müller 2c0c2970c3 Merge branch 'main' into #582-detect-if-page.evaluate()-works-properly 2025-02-11 22:35:40 -08:00
paperboardofficial 10c50254da added check for empty child for a tag 2025-02-12 11:26:52 +05:30
Magnus Müller 987792087b Fix self.page 2025-02-11 20:30:23 -08:00
Matic Zavadlal 543d01f250 stash 2025-02-10 22:48:23 +01:00
Matic Zavadlal 4d1040d073 Update buildDomTree.js 2025-02-07 18:58:38 +01:00
Matic Zavadlal 81056a2f37 Update buildDomTree.js 2025-02-07 18:56:59 +01:00
Matic Zavadlal 76614f09d0 ignore highlight elements 2025-02-07 18:50:16 +01:00
Matic Zavadlal 45d5b1d104 Update views.py 2025-02-07 01:17:07 +01:00
Matic Zavadlal a433c476d1 cleanup 2025-02-07 01:13:16 +01:00
Matic Zavadlal 76f7516e9b mem 2025-02-06 22:17:54 +01:00
Matic Zavadlal 2d5909138d fixes 2025-02-06 21:56:18 +01:00
Matic Zavadlal d0142da533 Update service.py 2025-02-06 21:45:51 +01:00
Matic Zavadlal 0a416b6f87 Delete performance_test.py 2025-02-06 21:45:08 +01:00
Matic Zavadlal 7a50c50be8 cleanup 2025-02-06 21:37:37 +01:00
Matic Zavadlal 568c3c707f stash 2025-02-06 21:31:38 +01:00
Matic Zavadlal 0acce1fc1f stash 2025-02-06 20:56:18 +01:00
Matic Zavadlal ca90d0f1f1 stash 2025-02-06 20:05:45 +01:00
Pierre Gronlier 9dc3be58a6 detect if page.evaluate() works properly
error handling for https://github.com/browser-use/browser-use/issues/541
2025-02-06 10:24:26 +01:00
magmueller 215dd81571 Change notation from _[:] to [] 2025-02-01 12:51:35 -08:00
magmueller 724f9c3efd Added coordinates and css selectors into state 2025-01-30 23:58:18 -08:00
magmueller 1f2bc5348e Dont select body as clickable 2025-01-28 20:21:04 -08:00
Sean Gu 7ccf09fb76 fix: Locate element by xpath when rerunning 2025-01-27 22:17:52 +08:00
magmueller 9407ec3b68 Add button class to click 2025-01-24 11:33:54 -08:00
magmueller bcf0b67cf5 Add viewport_expansion to config 2025-01-20 08:59:20 -08:00