1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-03-21 21:47:43 +02:00

112 Commits

Author SHA1 Message Date
Tim Voronov
90427cd537
Feature/new selector type ()
* 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
e4e98830a0
Feature/eval template ()
* Refactored use of eval

* Disable unstable unit test
2021-09-07 16:33:30 -04:00
Tim Voronov
e6dd5689b4
Bugfix/e2e tests ()
* 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
5119d62838
Feature/#478 keyboard events ()
* Added support of pressin special keys

* Linting
2021-04-23 10:42:31 -04:00
Roman
08e9054ba4
setting Input charset ()
* 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 ()
* Remodeled HTTPHeaders

* Remodeled HTTPCookies

* Fixed cookie.Expires

* Update documentation
2021-03-27 12:47:13 -04:00
Tim Voronov
d55bce325c
Bugfix/#597 headers panic ()
* 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 ()
* Added DOCUMENT_EXISTS function

* Added addition unit tests
2021-03-05 12:25:07 -05:00
Tim Voronov
6295919806
handling non-200 status codes 2021-03-05 08:08:28 -05:00
Tim Voronov
79566c3b76
Added support of ignoring page resources ()
* Added support of ignoring page resources

* Updatd pipeline scripts

* Updated comments
2021-02-19 11:40:30 -05:00
Tim Voronov
7eed93721c
Added support of computed styles ()
* 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
bd07b84736
Feature/#262 while loop ()
* Added new syntax and iterator

* Added FOR-WHILE loop

* Added 'FOR-DO-WHILE loop'
2020-11-10 19:16:22 -05:00
Pierre Brisorgueil
c0f8421eaf
fix(html): WAIT_NAVIGATION doc 🐛 () 2020-10-02 11:21:39 -04:00
Tim Voronov
63efc6721e Updated changelog 2020-09-14 22:25:32 -04:00
Paul
3187f54bf5
fix SCREENSHOT() param type check () 2020-08-11 10:27:01 -04:00
Tim Voronov
24d8eedd4c
Feature/doc markup ()
* Added release notes

*  fixedOCOD typo

* Updated values

* Updated comments

* Changed stdlib docs format

* Changed format of array in docs

* Use 'any' instead of 'value' in docs

* New format for optional params

* Updated docs for testing package

* Added namespace information
2020-08-07 21:49:29 -04:00
Tim Voronov
162dd07346
Feature/425 iframe navigation ()
* Updated navigation logic

* Fixed goroutine deadlock

* Fixed closing chan

* Added support of waiting for individual frame navigation

* Updated EventLoop API in order to avoid double closing of event sources

* Fixed attr retrieval

* Removed redundant println

* Updated DOM Readiness check
2020-07-13 14:13:03 -04:00
Tim Voronov
c9dfb79641
Added scroll options ()
* Added scroll options

* Updated dependencies

* Updates after code review

* Updates after review

* Added comments
2020-04-25 15:06:00 -04:00
Tim Voronov
453ba932eb
Replaced Document with Page HTLM struct in Pagination helper function () 2020-02-01 23:43:30 -05:00
Tim Voronov
4af0e0f15f
Added possibility to load pages from memory ()
* Added possibility to load pages from memory

* Fixed indent
2020-01-04 12:57:41 -05:00
Tim Voronov
fe7b45df6e
Bugfix/#399 navigation ()
* Refactored networking

* Some work

* Added event loop

* Renamed EventHandler to Handler

* wip

* Removed console logs

* Added DOMManager

* Refactored frame managment

* Fixes

* Fixed concurrency issues

* Fixed unit tests

* Improved EventLoop api

* Some fixes

* Refactored event loop.

* Improved logic of initial page load

* Cleaned up

* Fixed linting issues

* Fixed dom.Manager.Close

* SOme works

* Fixes

* Removed fmt.Println statements

* Refactored WaitForNavigation

* Removed filter for e2e tests

* Made Cookies Measurable

* Made Cookies KeyedCollection

* Fixes after code review

* Updated e2e tests for iframes

* Fixed iframe lookup in e2e tests

* Added comments
2019-12-24 18:47:21 -05:00
3timeslazy
ad2ec2e817 build core.Functions with map 2019-10-15 21:06:48 +03:00
3timeslazy
83dc0d2811 make core.Functions a struct 2019-10-15 11:40:36 +03:00
Tim Voronov
df390a629a
Merge pull request from MontFerret/refactoring/html-element
Removed redundant element value caching
2019-09-07 14:36:16 -04:00
Tim Voronov
012029f8d9 Updated comments 2019-09-07 14:03:17 -04:00
Tim Voronov
d144c618eb Added BLUR function 2019-09-07 12:59:37 -04:00
Tim Voronov
fcd0a21e75
Added click count ()
* Added click count
2019-09-07 01:59:32 -04:00
Tim Voronov
24370d8178
Refactored methods ()
* Refactored methods

* Fixed errors provided by go vet
2019-09-06 23:15:27 -04:00
Tim Voronov
c773509469
Added missed errors to HTMLElement interface ()
* Added missed errors to HTMLElement interface

* Fixed test suit
2019-09-06 21:02:41 -04:00
Tim Voronov
2d645434d8
Externalized common timeout values ()
* Externalized common timeout values

* Updated go.sum
2019-09-05 12:17:22 -04:00
Tim Voronov
9b762d32ee
Feature/#360 default driver params ()
* Added default headers and cookies

* wip

* Added tests

* Added default headers and cookies to HTTP driver

* Removed unused struct prop
2019-09-05 11:49:21 -04:00
Tim Voronov
af1125c8e9
Added INPUT_CLEAR function ()
* Added INPUT_CLEAR function

* Fixed linting issue

* Fixed formatting
2019-09-01 16:09:35 -04:00
Tim Voronov
f39face8bf
Bugfix/click ()
* Added ability to use ClickBySelector with an element

* Fixes

* Increased timeout time
2019-08-24 20:26:27 -04:00
Tim Voronov
11bf8c365a
Fixed headers ()
* Fixed headers

* Added e2e for static pages
2019-08-04 17:25:47 -04:00
Tim Voronov
b323a984cc
Added errors to ClickX methods and added existence check ()
* Added errors to ClickX methods and added existence check

* Fixes

* Return None from Iterator when an error occurs
2019-07-26 13:22:06 -04:00
Tim Voronov
7e6b3bf15d
Feature/focus ()
* Added and implemented Focus and FocusBySelector methods

* Added e2e tests

* Updated CHANGELOG

* Fixed linting errors
2019-07-23 16:13:04 -04:00
Tim Voronov
14c487ca46
Updated pagination iterator ()
* Updated pagination iterator

* Added e2e test

* Fixed e2e tests
2019-07-23 12:44:30 -04:00
Tim Voronov
22382a0f61
Added namespace builder ()
* Added namespace builder

* Fixed linting issues

* Added extra check

* Updated e2e lib

* Renamed NamespaceBuilder to NamespaceContainer and changed func receivers

* Renamed NewLib to RegisterLib
2019-07-22 17:21:20 -04:00
Tim Voronov
63201148ac
Added possibility to set custom viewport size ()
* 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
347bae2e45
Feature/#265 dom manipulations ()
* Added SetInnerHTML method

* Added E2E tests

* Refactored GetInnerText* methods

* Updated e2e tests

* Moved related E2E tests to folders

* Added error message

* Added E2E tests

* Added E2E for static driver
2019-07-11 17:16:34 -04:00
Tim Voronov
7ce6797e9c
Feature/#230 xpath ()
* 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
84d662c2fc
Fixed improper math operator used in calculating page load timeout () 2019-06-25 15:33:42 -04:00
Tim Voronov
d7b923e4c3
Feature/#220 iframe support ()
* Refactored Virtual DOM structure
* Added new E2E tests
* Updated E2E Test Runner
2019-06-19 17:58:56 -04:00
Tim Voronov
6933798419
Bugfix/#295 arithmetic operators ()
* 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 ()
* 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
3timeslazy
de703513e4 Linter Cleanup ()
* linter cleanup

* fix default case
2019-03-29 10:48:51 -04:00
3timeslazy
1cf260cd59 fix order of arguments () 2019-03-19 12:32:28 -04:00
Tim Voronov
71c246dd17
Feature/#236 cookies ()
* Added KeepCookies option to CDP driver

* Added LoadDocumentParams

* Added COOKIE_GET and COOKIE_SET methods
2019-03-15 19:59:05 -04:00
Tim Voronov
e17ce5a3d5
Feature/#250 wait style 2 ()
* Added WAIT_STYLE and WAIT_NO_STYLE

* Added WAIT_NO_STYLE and WAIT_NO_STYLE_ALL functions
2019-03-14 22:10:15 -04:00