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

159 Commits

Author SHA1 Message Date
Paul
3187f54bf5
fix SCREENSHOT() param type check (#545) 2020-08-11 10:27:01 -04:00
Tim Voronov
d3c28a43ff
Added possibility to use any type as a file content (#544) 2020-08-07 22:09:02 -04:00
Tim Voronov
24d8eedd4c
Feature/doc markup (#543)
* Added release notes

* #509 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
42cf623471
Added missed DATE_COMPARE and updated comments (#537) 2020-07-13 15:39:33 -04:00
Tim Voronov
162dd07346
Feature/425 iframe navigation (#535)
* 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
John Bampton
de377775a9
Fix spelling (#534) 2020-07-09 17:30:50 -04:00
Tim Voronov
2643321e0f
Migration to lab (#526)
* Switched to Lab for e2e tests

* Switched to binary

* Updated lab installation

* Updated use of Lab installer

* updates

* Changed lab installation path

* Updated use of installer

* Works

* Added additional functions

* Updated some tests

* Updated go.sum

* Works

* Refactored assertions

* Added tests for testing.True

* Added tests for testing.None

* Added tests for testing.Lte

* Added tests for testing.Lt

* Added generic consturctor

* Added tests for testing.Len

* Added tests for testing.Gte

* Added tests for testing.Gt

* Added tests for testing.False

* Added tests for testing.Empty

* Added tests for testing.Fail

* Added tests for testing.Equal

* Added tests for testing.Include

* Updated urls in static page tests

* Fixed namespace unit tests

* Fixed unit test for testing.Len

* Updated E2E scripts

* Updaes

* Updated Chrome in CI/CD

* Added e2e for example test click.fql

* Added suite cases for example scripts

* Updated examples

* Updated

* Added type assertions

* Updated Chrome opts and disabled headers and cookies related tests

* Fixed iframes example

* Increased timeouts in navigation examples

* Updated value example

* Updated comments

* Disabled cookies examples

* Fixed static url

* Disabled headers examples

* Disabled UA test

* Simplified wait logic

* Added base testing module

* Fixes after codereview

* Disabled failing tests
2020-06-17 17:37:01 -04:00
Paul
aa058f3542
allow context cancellation in WAIT (#524)
* allow context cancellation in WAIT

* cancel context before running the program
2020-06-01 07:58:16 -04:00
Tim Voronov
c86eecd54c #485 missed namespace 2020-05-13 22:10:47 -04:00
Aleksandr Yakimenko
ed8e43e4c6
Add Path functions (#505)
* Add Path functions

* Add unit tests
2020-05-12 22:19:41 -04:00
Vladimir Fetisov
cbb4311b65
add strconv.Unquote into DecodeURIComponent (#499) 2020-05-07 22:34:21 -04:00
Vladimir Fetisov
9dd35add2c
#496_fix_RandomToken_on_Windows (#497) 2020-05-04 20:46:07 -04:00
Vladimir Fetisov
83fa54e65a
change file mode from 0222 to 0666 (#494) 2020-05-02 14:43:43 -04:00
Y.Horie
7d7253325e
Add rand seed in RAND() (#483) (#484) 2020-04-27 23:04:38 -04:00
Tim Voronov
c9dfb79641
Added scroll options (#471)
* Added scroll options

* Updated dependencies

* Updates after code review

* Updates after review

* Added comments
2020-04-25 15:06:00 -04:00
Tim Voronov
978108eca0
Added functions with correct names (#461) 2020-03-10 21:29:06 -04:00
Tim Voronov
e4464d9de9
Added missed datetime library (#462) 2020-03-10 21:18:04 -04:00
Tim Voronov
a16701e2b0 Updated comments for HTTP functions 2020-02-21 11:15:41 -05: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
John Bampton
568c48ea71
Fix typos (#446) 2020-02-01 23:44:31 -05:00
Tim Voronov
453ba932eb
Replaced Document with Page HTLM struct in Pagination helper function (#448) 2020-02-01 23:43:30 -05:00
Tim Voronov
4af0e0f15f
Added possibility to load pages from memory (#434)
* Added possibility to load pages from memory

* Fixed indent
2020-01-04 12:57:41 -05:00
Tim Voronov
fe7b45df6e
Bugfix/#399 navigation (#432)
* 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
ae94075a42 add NewPairValueType 2019-10-21 20:11:47 +03:00
3timeslazy
86a143251b fix go vet 2019-10-21 19:27:20 +03:00
3timeslazy
474b340ad0 move parseWriteMode into parseParams 2019-10-21 19:02:44 +03:00
3timeslazy
2b3a82d720 fix parseWriteMode return 2019-10-21 18:35:35 +03:00
3timeslazy
892915c58d fix Write comment 2019-10-21 18:30:04 +03:00
3timeslazy
8171b6e1ed use tempFile at TestRead 2019-10-21 18:28:47 +03:00
3timeslazy
d1c5145a5b add IO::FS::WRITE function 2019-10-21 18:26:49 +03:00
3timeslazy
e6757b1f01 add IO::FS::READ function 2019-10-19 21:17:34 +03: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
3timeslazy
e5860934a4 move strings.ToUpper logic from code into core.Functions 2019-10-14 21:47:31 +03:00
Tim Voronov
df390a629a
Merge pull request #380 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 (#377)
* Added click count
2019-09-07 01:59:32 -04:00
Tim Voronov
24370d8178
Refactored methods (#376)
* 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 (#375)
* Added missed errors to HTMLElement interface

* Fixed test suit
2019-09-06 21:02:41 -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
9b762d32ee
Feature/#360 default driver params (#372)
* 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 (#366)
* Added INPUT_CLEAR function

* Fixed linting issue

* Fixed formatting
2019-09-01 16:09:35 -04:00
Tim Voronov
f39face8bf
Bugfix/click (#355)
* 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 (#348)
* 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 (#341)
* 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 (#340)
* 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 (#338)
* Updated pagination iterator

* Added e2e test

* Fixed e2e tests
2019-07-23 12:44:30 -04:00
Tim Voronov
22382a0f61
Added namespace builder (#336)
* 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 (#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