Ferret v0.7.0 Release Notes
Release Date: 2019-03-19 // about 5 years ago-
โ Added
- Autocomplete to CLI #219.
- ๐ New mouse functions -
MOUSE(x, y)
andSCROLL(x, y)
#237. WAIT_NO_ELEMENT
,WAIT_NO_CLASS
andWAIT_NO_CLASS_ALL
functions #249.- ๐
Computed
HTMLElement.style
property #255. ATTR_GET
,ATTR_SET
,ATTR_REMOVE
,STYLE_GET
,STYLE_SET
andSTYLE_REMOVE
functions #255.- ๐
WAIT_STYLE
,WAIT_NO_STYLE
,WAIT_STYLE_ALL
andWAIT_NO_STYLE_ALL
functions #256. - ๐ Cookies support. Now a document can be loaded with preset cookies. Also, HTMLDocument has
.cookies
property. In order to manipulate with cookies,COOKIE_DEL
,COOKIE_SET
ANDCOOKIE_GET
functions were added #242.
LET doc = DOCUMENT(url, { driver: "cdp", cookies: [{ name: "x-e2e", value: "test" }, { name: "x-e2e-2", value: "test2" }] })
๐ Changed
๐ Fixed
- Click events are not cancellable #222.
- Name collision #223.
- Invalid return in FQL Compiler constructor #227.
- Incorrect string length computation #238.
- Access to HTML object properties via dot notation #239.
- Graceful process termination #240.
- ๐ Browser launcher for macOS #246.
๐ฅ Breaking changes
- ๐ New runtime type system #232.
- ๐ Moved and renamed
collections.IterableCollection
andcollections.CollectionIterator
interfaces. ๐ฆ Now they are incore
package and calledIterable
andIterator
1af8b37. - ๐ Renamed
collections.Collection
interface tocollections.Measurable
1af8b37. - ๐ฆ Moved html interfaces from
runtime/values
package intodrivers
package #234. - ๐ Changed drivers initialization. Replaced old
drivers.WithDynamic
anddrivers.WithStatic
methods with a newdrivers.WithContext
method with optional parameterdrivers.AsDefault()
#234. - ๐ New document load params #234.
LET doc = DOCUMENT(url, { driver: "cdp" })