Orcgen v2 - simpler and more configurable package
Pre-release
Pre-release
Makes the implementation of the package much simpler, and enables configurations using rod.
Changes:
- pkg dir now contains 3 main parts:
- fileinfo: a struct to standardize the returns / file saves.
- handlers: the implementations of the page file save functionality (PDF / Screenshots).
- webdriver: simple wrapper over rod library.
New flow:
The user must first initialize a rod's Page instance. It can be done using the webdriver struct. The user can also configure the timeouts or other Browser options.
Then the user must instantiate a handler, and can optionally change the default configuration.
After this, the user can use the handler directly, calling GenerateFile. It returns a Fileinfo struct, that can be used to access the content and / or save a file.
What's Changed
New Contributors
Full Changelog: v1.1.2...v2.0.0