1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-15 01:25:00 +02:00
Commit Graph

782 Commits

Author SHA1 Message Date
847dda1f10 Feature/pre compiled eval scripts (#658)
* Added support of pre-compiled eval expressions

* Added unit tests for eval.Function

* Added RemoteType and RemoteObjectType enums

* Refactored function generation

* Refactored Document and Element loading logic

* Removed redundant fields from cdp.Page

* Exposed eval.Runtime to external callers

* Added new eval.RemoteValue interface
v0.16.0-rc.3
2021-09-19 19:35:54 -04:00
90427cd537 Feature/new selector type (#657)
* Added remote type reference resolver

* Added support of XPath query selector

* Added CDP e2e testss covering XPath integration

* Added additional CDP e2e tests covering XPath integration

* Added type check to QuerySelector casting function

* Fixed XPath e2e tests

* Fixed vuln issue

* Added support of XPath selectors to http driver

* Added e2e tests for XPAth
v0.16.0-rc.2
2021-09-16 21:40:20 -04:00
a000302259 Merge branch 'master' of github.com:MontFerret/ferret v0.16.0-rc.1 2021-09-08 21:01:43 -04:00
8f2957e6ca Feature/optimized member expression (#653)
* Added new member path resolution logic

* Updated Getter and Setter interfaces

* Added ssupport of pre-compiled static member path

* Improved error handling
2021-09-08 21:01:22 -04:00
de128894f6 Updated benchmark 2021-09-08 16:27:39 -04:00
e4e98830a0 Feature/eval template (#651)
* Refactored use of eval

* Disable unstable unit test
2021-09-07 16:33:30 -04:00
5f361e9e1b Added support of optional ignoring of errors to function calls (#652)
* Added support of optional ignoring of errors to function calls

* Added support of handling of source failure to optional chaining

* Updated unit tests
2021-09-06 22:21:20 -04:00
0cb7623a7f Dropped support of Go 1.13 2021-09-02 22:43:59 -04:00
86d5e454e1 Merge branch 'master' of github.com:MontFerret/ferret 2021-09-02 11:11:22 -04:00
e6dd5689b4 Bugfix/e2e tests (#648)
* Fixed logger level

* Fixed WAITFOR EVENT parser

* Added tracing to Network Manager

* Updated logging

* Swtitched to value type of logger

* Added tracing

* Increased websocket maximum buffer size

* Ignore unimportant error message

* Added support of new CDP API for layouts

* Switched to value type of logger

* Added log level

* Fixed early context cancellation

* Updated example of 'click' action

* Switched to val for elements lookup

* Fixed unit tests

* Refactored 'eval' module

* Fixed SetStyle eval expression

* Fixed style deletion

* Updated logic of setting multiple styles
2021-09-02 11:09:48 -04:00
aeb1247ab3 Fixed logger level 2021-08-02 16:12:40 -04:00
25c97b86b8 Bugfix/#638 http driver multiple requsets (#642)
* Set DefaultConcurrency to 1

* Added unit test
2021-08-01 15:00:20 -04:00
bc5dd5feed Tests variable (#641)
* added tests for runtime/expressions/variable
2021-07-28 10:47:23 -04:00
7faa69fc86 Fixed query 2021-07-27 16:23:35 -04:00
37f33eef01 E2E: Upgraded Chromium to 92.0.4512.0 2021-07-27 10:29:07 -04:00
32b27f6a0b Bump github.com/mafredri/cdp from 0.31.0 to 0.32.0 (#639)
Bumps [github.com/mafredri/cdp](https://github.com/mafredri/cdp) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/mafredri/cdp/releases)
- [Commits](https://github.com/mafredri/cdp/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: github.com/mafredri/cdp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 20:33:20 -04:00
53bcfc92d4 Fixed use of deprecated CDP API methods (#637) 2021-07-16 23:45:18 -04:00
1d64cb5da7 Fixed nil pointer exception (#636) 2021-07-16 23:45:06 -04:00
62a0665a99 Fix cpu leakage (#635) 2021-07-16 17:58:11 -04:00
1d0617eb3b Added support of optional chaining (#634) 2021-07-16 14:46:08 -04:00
742bdae0ae Feature/#263 waitfor event (#590)
* Added new WAITFOR syntax

* Added support of event options

* Added support of options

* Added support of using WAITFOR EVENT in variable assignment
2021-07-13 21:34:22 -04:00
e6c18ebb84 Bump github.com/antchfx/xpath from 1.1.11 to 1.2.0 (#626)
Bumps [github.com/antchfx/xpath](https://github.com/antchfx/xpath) from 1.1.11 to 1.2.0.
- [Release notes](https://github.com/antchfx/xpath/releases)
- [Commits](https://github.com/antchfx/xpath/compare/v1.1.11...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/antchfx/xpath
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 20:31:25 -04:00
44b1bb2273 Bump github.com/rs/zerolog from 1.22.0 to 1.23.0 (#628)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 20:30:42 -04:00
74de7da035 Bump github.com/PuerkitoBio/goquery from 1.6.1 to 1.7.1 (#632)
Bumps [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery) from 1.6.1 to 1.7.1.
- [Release notes](https://github.com/PuerkitoBio/goquery/releases)
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.6.1...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 20:29:53 -04:00
73e04fd60e added tests for runtime/expressions/variable (#630)
* added tests for runtime/expressions/variable
2021-07-11 08:08:31 -04:00
a7b17c8b30 Update disable-images.fql (#625) 2021-06-25 22:35:51 -04:00
60eae1a460 Bump github.com/rs/zerolog from 1.21.0 to 1.22.0 (#623)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 16:21:17 -04:00
833330e73c values.Parse does not parse int64 (#621) 2021-05-04 15:20:40 -04:00
ff5af6f739 Upgrade to GitHub-native Dependabot (#620)
* Upgrade to GitHub-native Dependabot

* Update dependabot.yml

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tim Voronov <ziflex@users.noreply.github.com>
2021-05-04 15:03:13 -04:00
4c79cb4343 Updated root API (#622) 2021-05-04 15:01:27 -04:00
4346a91513 Bump golang.org/x/text from 0.3.3 to 0.3.6 (#612)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.3 to 0.3.6.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.3...v0.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-30 11:36:49 -04:00
eb5cef326f Update CHANGELOG.md v0.15.0 2021-04-23 15:45:29 -04:00
ae352e2e6b Fixed selection of text containing special characters (#619) 2021-04-23 15:36:53 -04:00
5119d62838 Feature/#478 keyboard events (#618)
* Added support of pressin special keys

* Linting
2021-04-23 10:42:31 -04:00
f16b6afe45 Update README.md 2021-04-22 15:13:27 -04:00
011fe0e6d7 Update README.md 2021-04-22 13:57:26 -04:00
f5c0e18639 Update README.md 2021-04-22 11:18:22 -04:00
b120aadf56 Update README.md (#615) 2021-04-19 16:01:33 -04:00
7601c903d9 issue-607: add object(array)Literal into memberExpression (#616) 2021-04-19 13:55:24 -04:00
d9360af487 Draft of 0.15.0 release notes 2021-04-09 10:07:05 -04:00
46009da1e7 Fixes and changes 2 (#614)
* feat(core): added SourceErrorDetail

* fix(driver): fix sets user headers and cookies

* fix(driver): check users params on nil

* fix formating

* fix(tests): fix tests and change SourceErrorDetail
2021-04-09 09:58:42 -04:00
80c278ec6c Added .Walk() method to Parser 2021-04-08 23:37:16 -04:00
60e6bd39bb Updated license badge 2021-04-08 20:52:51 -04:00
8a772851f4 Removed old CLI (#608)
* Removed old CLI

* Added mini-CLI for e2e tests
2021-04-08 18:46:17 -04:00
08e9054ba4 setting Input charset (#609)
* feat(driver): add Charset param

* feat(driver): add convert to UTF8 by input charset
2021-04-08 18:35:29 -04:00
6645ff1521 Update README.md 2021-04-03 00:43:55 -04:00
3e34a5ec34 Added links to other projects 2021-04-01 17:12:03 -04:00
46c7dea9be Removed documentation from README 2021-03-28 23:16:55 -04:00
d4e31a9966 Updated CHANGELOG 2021-03-27 13:13:01 -04:00
3ddd9b82a8 Bugfix/#597 headers panic (#602)
* Remodeled HTTPHeaders

* Remodeled HTTPCookies

* Fixed cookie.Expires

* Update documentation
v0.14.1
2021-03-27 12:47:13 -04:00