3timeslazy
f87fe1e669
refactoring: .GetIn ( #353 )
...
* sync with MontFerret/ferret
* fix --param handling
When params is converted to map it uses strings.Split,
which slices a string into all substrings separated by :.
* implement GetIn for values.Object
* implement GetIn for values.Array
* rewrite GetIn because values.Object and values.Array implement core.Getter now
* fix bug when GetIn return nil instead of None
* add tests for Object and Array .GetIn
* add GetIn comment and remove 'len(byPath)' check
* fix GetIn comment
2019-08-20 22:00:15 -04:00
Tim Voronov
63201148ac
Added possibility to set custom viewport size ( #334 )
...
* Added possibility to set custom viewport size
* Fixed linting issue
* Renamed ScreenSize to Viewport
* Updated e2e test
2019-07-17 13:29:16 -04:00
Tim Voronov
7ce6797e9c
Feature/#230 xpath ( #322 )
...
* Implemented XPath for CDP driver
* Added XPATH function
* Added e2e tests for CDP
* Fixed linting issues
* Added support of XPath to HTTP driver
* Fixed linting issues
2019-07-03 14:05:02 -04:00
Tim Voronov
6933798419
Bugfix/#295 arithmetic operators ( #298 )
...
* Some work
* Updated Add operator
* Updated Subtract operator
* Updated Subtract operator tests
* Added tests for multiplication
* Added division
* Updated the rest of operators
2019-05-19 12:12:11 -04:00
3timeslazy
acf2f13dcb
Linter Cleanups ( #294 )
...
* sync with MontFerret/ferret
* fix --param handling
When params is converted to map it uses strings.Split,
which slices a string into all substrings separated by :.
* remove impossible conditions nil != nil
* delete ineffectual assignments
* replace '+= 1' with '++'
* remove useless comparison with nil
* merge variable declarations
* remove bool comparison
* fix imports
* fix imports
* delete unused file
* use copy instead of loop
* delete unused DummyInterface
* remove unnecassary break statements
* tidy modules
2019-05-03 17:10:34 -04:00
Tim Voronov
eb523f01cc
Feature/#221 mouse events ( #237 )
...
* Initial work
* Added MoveMouseByXY and ScrollByXY
* Fixed liniting issues
2019-02-23 17:52:01 -05:00
Tim Voronov
34c8c02258
Refactoring/externalized html ( #234 )
...
* Externalized HTML drivers
* Fixed unit tests
* Updated logging
* Added support to set default driver
* Updated GetIn and SetIn helpers
2019-02-19 18:10:18 -05:00
Tim Voronov
f8e061cc80
Move value specific Iterable and Iterator interfaces into core module ( #233 )
...
* Move value specific Iterable and Iterator interfaces into core module
* Update Makefile
Reverted test command
* Update collection.go
* Fixed wrong iterator usage
* Updated use of switch statements
2019-02-15 07:41:08 -05:00
Tim Voronov
1af8b37a0f
New type system ( #232 )
...
* New type system
* Fixed dot notation for HTML elements
2019-02-13 12:31:18 -05:00
Tim Voronov
e535f602d5
Added unit tests for Setter and Getter interfaces
2018-12-24 10:48:34 -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
dc3de71554
Bug/#194 empty value ( #195 )
...
* Fixes
* Fixed path to HTMLElement.value
2018-11-28 07:39:12 -05:00
Tim Voronov
3472630e6f
Bug/#142 clauses and statements ( #148 )
2018-10-28 01:45:26 -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
3939800299
#123 Renamed 'innerHtml' to 'innerHTML' ( #133 )
2018-10-16 19:33:02 -04:00
3timeslazy
f91fbf6f8c
Feature/#95 deepclone ( #101 )
...
* rename method Clone to Copy
* added Cloneable interface
* added Value to Cloneable interface
* implemented Cloneable intefrace by array
* implemented Cloneable interface by Object
* unit tests for Object.Clone
* move core.IsCloneable to value.go
* change Clone function
* move IsClonable to package values
2018-10-12 11:58:08 -04:00
David Landry
8942a5e584
Missed updating a bunch of identifiers
2018-10-05 19:40:09 -04:00
David Landry
a7ecc90973
Missed renaming some identifiers
2018-10-05 18:30:03 -04:00
David Landry
31cb7c2762
Fix increment-decrement errors
2018-10-05 17:38:12 -04:00
Tim Voronov
08b5f53451
Removed redundant nil check
2018-10-04 10:38:42 -04:00
Tim Voronov
d92d97da89
Merge pull request #35 from krishnakarthik1309/travis-ci
...
fix travis-ci(#28 ): use shell script instead of aliases
2018-10-04 10:32:44 -04:00
Tim Voronov
74fb7566ac
Fixed parsing nil
2018-10-04 08:08:57 -04:00
krishnakarthik1309
acc48b5631
fix json_test.go: Parsing none(nil)
...
:
json should parse as (values) None if input is nil.
2018-10-04 17:30:33 +05:30
Tim Voronov
91fc6a1f4a
#11 Added params
2018-09-28 21:04:16 -04:00
Tim Voronov
8b2e210317
Added possibility to use FOR loop in ternary expression
2018-09-27 19:05:56 -04:00
Tim Voronov
a6b51a1f40
#23 Added NAVIGATE
2018-09-25 19:04:07 -04:00
Tim Voronov
8436fa7425
Updated operators
2018-09-22 20:28:33 -04:00
Tim Voronov
e02e861240
Hello world
2018-09-18 16:42:38 -04:00