1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-22 03:39:08 +02:00

386 Commits

Author SHA1 Message Date
Tim Voronov
2f399c669e
Added support of error supression to inline expressions (#671)
* Added support of error supression to inline expressions
2021-09-20 00:53:00 -04:00
Tim Voronov
cf7763e2ff
Added a new example (#660) 2021-09-19 20:25:22 -04:00
Tim Voronov
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
2021-09-19 19:35:54 -04:00
Tim Voronov
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
2021-09-16 21:40:20 -04:00
Tim Voronov
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
Tim Voronov
e4e98830a0
Feature/eval template (#651)
* Refactored use of eval

* Disable unstable unit test
2021-09-07 16:33:30 -04:00
Tim Voronov
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
Tim Voronov
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
Tim Voronov
25c97b86b8
Bugfix/#638 http driver multiple requsets (#642)
* Set DefaultConcurrency to 1

* Added unit test
2021-08-01 15:00:20 -04:00
ConaGo
bc5dd5feed
Tests variable (#641)
* added tests for runtime/expressions/variable
2021-07-28 10:47:23 -04:00
Tim Voronov
53bcfc92d4
Fixed use of deprecated CDP API methods (#637) 2021-07-16 23:45:18 -04:00
Tim Voronov
1d64cb5da7
Fixed nil pointer exception (#636) 2021-07-16 23:45:06 -04:00
Roman
62a0665a99
Fix cpu leakage (#635) 2021-07-16 17:58:11 -04:00
Tim Voronov
1d0617eb3b
Added support of optional chaining (#634) 2021-07-16 14:46:08 -04:00
Tim Voronov
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
ConaGo
73e04fd60e
added tests for runtime/expressions/variable (#630)
* added tests for runtime/expressions/variable
2021-07-11 08:08:31 -04:00
Tim Voronov
833330e73c
values.Parse does not parse int64 (#621) 2021-05-04 15:20:40 -04:00
Tim Voronov
ae352e2e6b
Fixed selection of text containing special characters (#619) 2021-04-23 15:36:53 -04:00
Tim Voronov
5119d62838
Feature/#478 keyboard events (#618)
* Added support of pressin special keys

* Linting
2021-04-23 10:42:31 -04:00
Vladimir Fetisov
7601c903d9
issue-607: add object(array)Literal into memberExpression (#616) 2021-04-19 13:55:24 -04:00
Roman
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
Tim Voronov
80c278ec6c Added .Walk() method to Parser 2021-04-08 23:37:16 -04:00
Tim Voronov
8a772851f4
Removed old CLI (#608)
* Removed old CLI

* Added mini-CLI for e2e tests
2021-04-08 18:46:17 -04:00
Roman
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
Tim Voronov
3ddd9b82a8
Bugfix/#597 headers panic (#602)
* Remodeled HTTPHeaders

* Remodeled HTTPCookies

* Fixed cookie.Expires

* Update documentation
2021-03-27 12:47:13 -04:00
Tim Voronov
d55bce325c
Bugfix/#597 headers panic (#598)
* Remodeled HTTPHeaders

* Remodeled HTTPCookies
2021-03-26 12:01:00 -04:00
Tim Voronov
2f5954eca3 Added docs about statusCodes 2021-03-06 01:25:37 -05:00
Tim Voronov
b3118ca983
Added DOCUMENT_EXISTS function (#594)
* Added DOCUMENT_EXISTS function

* Added addition unit tests
2021-03-05 12:25:07 -05:00
Tim Voronov
ae7b5ce557 Added additional unit tests for LIKE operator 2021-03-05 08:11:41 -05:00
Tim Voronov
6295919806
#593 handling non-200 status codes 2021-03-05 08:08:28 -05:00
Tim Voronov
79566c3b76
Added support of ignoring page resources (#592)
* Added support of ignoring page resources

* Updatd pipeline scripts

* Updated comments
2021-02-19 11:40:30 -05:00
Tim Voronov
ff8c15eb67
Feature/#577 spa routing (#584)
* Added support of getting URL dynamically
2021-02-16 09:49:26 -05:00
Tim Voronov
f4876c05a3
Added LIKE operator (#591)
* Added LIKE operator
2021-02-15 11:37:52 -05:00
Roman
8d7f1dae23
custom http transport (#586)
* feat(http): add options.HTTTransport and refactor driver init

* refactor(http): add new line
2021-01-22 15:00:01 -05:00
Roman
cd35437452
feat(runtime): check Kind() by 0 or Interface() panic (#587) 2021-01-22 14:59:02 -05:00
Tim Voronov
cd1b1cf5c7 Minor updates to #578 2021-01-19 15:23:32 -05:00
Y.Horie
f0097e984e
Add rand seed in RAND(min, max) #578 (#579) 2021-01-19 15:20:41 -05:00
Tim Voronov
526916efb6
Bugfix/#575 element children (#580)
* Fixed retreival of child elements

* Fixed formatting

* Set tree depth to 0

* Removed redundant code
2020-12-19 13:42:57 -05:00
Tim Voronov
2baac62d1e
Bugfix/#559 html escaping (#573)
Added jettison for json encoding
2020-11-23 20:12:04 -05:00
Tim Voronov
8629b57fa7
Added GetParentElement to HTMLElement struct (#571)
* Added GetParentElement to HTMLElement struct

* Fixed linter issue

* Fixed formatting
2020-11-20 23:09:12 -05:00
Tim Voronov
7eed93721c
Added support of computed styles (#570)
* Added support of computed styles

* Updated style updates

* Fixed linter issues

* Updated styles manipulation in static driver

* Updated e2e tests

* Updated methods

* Updated e2e tests

* Updated README
2020-11-20 20:09:21 -05:00
Tim Voronov
01088247e2
Added support of Element.nextElementSibling and Element.previousEleme… (#569)
* Added support of Element.nextElementSibling and Element.previousElementSibling

* Fixed linting issues

* Removed reedundant logger use
2020-11-13 21:48:00 -05:00
Tim Voronov
bd07b84736
Feature/#262 while loop (#567)
* Added new syntax and iterator

* Added FOR-WHILE loop

* Added 'FOR-DO-WHILE loop'
2020-11-10 19:16:22 -05:00
Tim Voronov
4bfffa8118
Fixed open tab on error (#564) 2020-10-21 22:30:58 -04:00
David BF
9988ebde6f
Add Regexp FILTER operator (#558) 2020-10-02 13:35:17 -04:00
Pierre Brisorgueil
c0f8421eaf
fix(html): WAIT_NAVIGATION doc 🐛 (#557) 2020-10-02 11:21:39 -04:00
Tim Voronov
414c16db09 Fixed unit test 2020-09-14 22:40:34 -04:00
Tim Voronov
63efc6721e Updated changelog 2020-09-14 22:25:32 -04:00
Tim Voronov
6ce7ba6507 Merge branch 'master' of github.com:MontFerret/ferret into master 2020-08-25 01:25:15 -04:00
Tim Voronov
b28506af1f Added extra locks 2020-08-25 01:25:07 -04:00