NEW: You can now specify a device simulation!
-- More info: http://www.testautomation.info/Lapis_Lazuli:Device_Simulation
-- config.yml can now contains a setting default_device
-- lapis_lazuli create will now include a devices.yml file with some example devices
NEW: Prepared the code to accept multiple config files that will be merged with eachother.
FIX: Added dependency on thor & facets to support the project generator
FIX: browser.restart now accepts arguments for browser settings
Developer changes:
NEW: browser::init :device is a new option stored in the optional_data variable
browser::init now simply sets variables to nil when they are empty
browser::init added a check if :device is set and tries to set it if not.
FIX: browser::init now properly duplicates a Selenium profile when caching it (this prevents internally changing an object outsite of LL)
NEW: browser::create_driver optional_data[:device] is removed and put into a separate variable
NEW: browser::create_driver If :device was set, load the devices.yml and check if the setting exists.
NEW: browser::create_driver After the browser is defined, set the user agent
-- Prevent overwriting an existing user-agent setting.
-- If a profile or switch already exists, make sure the information is appended.
-- Functionality differs between chrome and firefox
-- Throw a warning if a device was set, but neither FF or Chrome was the browser.
NEW: browser::create_driver after starting the browser instance, resize it to the configuration settings
NEW: Prepared world/config.rb to accept multiple config files.
-- Changed load_config_from_file(filename) to get the config settings from get_config_from_file(filename)
-- Added get_config_from_file(filename) which will return the data loaded from the file
-- Added add_config_from_file(filename) which will merge the file data with the existing data.
Updated the self tester with the new device.yml file and default_device setting.
NEW: Created a feature in the self tester for using bindings
NEW: Self tester will now print version information when starting in env.rb
LL Changes:
Developer changes: