1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-24 03:49:29 +02:00

41 Commits

Author SHA1 Message Date
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
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
Vladimir Fetisov
7601c903d9
issue-607: add object(array)Literal into memberExpression (#616) 2021-04-19 13:55:24 -04:00
Tim Voronov
80c278ec6c Added .Walk() method to Parser 2021-04-08 23:37:16 -04:00
Tim Voronov
f4876c05a3
Added LIKE operator (#591)
* Added LIKE operator
2021-02-15 11:37:52 -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
7b2ed4c662
Added support of using keywords in namespaces (#481)
* Added support of using keywords in namespaces

* Added true and false

* Removed unnecessary string case
2020-04-28 17:30:47 -04:00
3timeslazy
64fc010e6e
MVP USE statement (#470)
* MVP USE statement
2020-04-22 10:44:10 -04:00
Tim Voronov
67dc8703c7
Added HTTP methods (#452)
* Added HTTP methods

* Added unit tests

* Fixed linting issue

* Replaced localhost with 127.0.0.1

* Added random port generator

* Disabled http tests

* Disabled HTTP GET test
2020-02-21 11:06:45 -05:00
Владимир Фетисов
95698ca3fb add comment 2019-10-09 20:48:50 +03:00
Владимир Фетисов
56c840228d add CaseChangingStream 2019-10-09 20:45:53 +03:00
Tim Voronov
04eea23e52 Added support for params as segments in member expression path 2019-09-07 01:57:33 -04:00
Tim Voronov
9c0e81a2f4 Added param to member expression 2019-09-07 01:21:43 -04:00
Tim Voronov
2d645434d8
Externalized common timeout values (#371)
* Externalized common timeout values

* Updated go.sum
2019-09-05 12:17:22 -04:00
Tim Voronov
5928900e82
Added tick as a string literal (#367) 2019-09-01 21:41:16 -04:00
Tim Voronov
2a8135657d
Fixed access to a member property right after a function call (#368) 2019-09-01 16:01:03 -04:00
Tim Voronov
cf43c7fdad
Feature/#293 regular exp operator (#326)
* Added Regexp operator

* Added simple type check

* Fixed linting issue
2019-07-09 14:19:53 -04:00
Tim Voronov
101da6323a
Added namespaces support (#296)
* Added namespaces support

* Updated regexp for func name validation
2019-05-10 12:53:31 -04:00
Tim Voronov
2712c3836b Updated parser 2018-12-24 11:54:47 -05:00
Tim Voronov
5620be211c
Next (#214)
* Renamed DOCUMENT to PAGE

* Added PageLoadParams

* Added PageLoadParams

* Renamed LoadPageParams -> PageLoadParams

* Added support for context.Done() (#201)

* Bug/#189 operators precedence (#202)

* Fixed math operators precedence

* Fixed logical operators precedence

* Fixed array operator

* Added support for parentheses to enforce a different operator evaluation order

* Feature/#200 drivers (#209)

* Added new interfaces

* Renamed dynamic to cdp driver

* Renamed drivers

* Added ELEMENT_EXISTS function (#210)

* Renamed back PAGE to DOCUMENT (#211)

* Added Getter and Setter interfaces
2018-12-21 23:14:41 -05:00
Tim Voronov
30abe61f72 Updated ANTLR binary name for code generation 2018-11-19 20:51:05 -05:00
Tim Voronov
291d07cbef
Feature/custom iterator (#173)
* Added CollectionIterator interface

* Added PAGINATION function

* Fixed LIMIT clause

* Fixed linting issues
2018-11-12 19:58:12 -05:00
Tim Voronov
3472630e6f
Bug/#142 clauses and statements (#148) 2018-10-28 01:45:26 -04:00
Tim Voronov
b188e7a4f3 Updated in parser 2018-10-25 18:17:49 -04:00
Tim Voronov
549b4abd3b
Feature/#5 collect keyword alt (#141)
Implemented COLLECT key word
2018-10-24 21:30:05 -04:00
Tim Voronov
685c5872aa Added possibility to use string literals as object poperties 2018-10-22 15:11:00 -04:00
Tim Voronov
e5ca63bcdb
Bug/binary expression (#135)
Added boolean binary operator
2018-10-17 11:41:40 -04:00
Tim Voronov
cf70088fd8
#117 Added support for multiline strings (#129) 2018-10-15 18:50:55 -04:00
Tim Voronov
0dfd58dc89
Feature/#1 array comparison operators (#71)
* #1 Added ALL IN

* #1 Completed Array operator

* #1 Fixed linting issues
2018-10-07 17:54:02 -04:00
Tim Voronov
91fc6a1f4a #11 Added params 2018-09-28 21:04:16 -04:00
Tim Voronov
74c03367cc Extended range operator 2018-09-28 13:56:25 -04:00
Tim Voronov
8b2e210317 Added possibility to use FOR loop in ternary expression 2018-09-27 19:05:56 -04:00
Tim Voronov
61c81fa03b Reverted generation 2018-09-27 17:03:49 -04:00
Tim Voronov
f8973aa504 Changed parser generation 2018-09-27 14:36:16 -04:00
Tim Voronov
4df1949b91 #13 Added WAIT_ELEMENT function 2018-09-23 04:33:20 -04:00
Tim Voronov
aa5667f10b #2 Added IN operator 2018-09-22 21:06:19 -04:00
Tim Voronov
bbb9f7b68f #4 Added range operator 2018-09-22 19:18:10 -04:00
Tim Voronov
d2484b8bfd #3 added ternary operator 2018-09-22 11:24:35 -04:00
Tim Voronov
e02e861240 Hello world 2018-09-18 16:42:38 -04:00