jfinkhaeuser / unobtainium Goto Github PK
View Code? Open in Web Editor NEWObtain the unobtainable: test code covering multiple platforms
Home Page: http://jfinkhaeuser.github.io/unobtainium/
License: Other
Obtain the unobtainable: test code covering multiple platforms
Home Page: http://jfinkhaeuser.github.io/unobtainium/
License: Other
ssia
After do |scenario|
begin
driver.reset
rescue => error
# if driver reset isn't possible, it doesn't make sense to continue
puts "DRIVER RESET WASN'T POSSIBLE DUE TO #{error} - BUT IS REQUIRED "\
"FOR BEFORE NEXT SCENARIO. WILL EXIT THE PROGRAM"
driver.quit
Kernel.exit(2)
end
Currently only driver and config are exposed.
It would be good to be able to use the wait without having to require selenium.
See collapsium
This might also help with #8, as PathedHash is not 100% covered.
--webdriver-*
options.In appium_lib.server_url and options['url']
After do |scenario|
if scenario.failed?
# Time.zone = 'Berlin'
timestamp = Time.zone.now.to_s.split(" ")[0, 2].join("_")
filename = "failure-" + scenario.name.tr(" ", "_") + "-" + timestamp + ".png"
take_screenshot(filename)
end
end
For projects configuring many different drivers, it may make sense to split the configuration conceptually into two parts: one that provides driver configurations, and one that provides other configuration values (which may include the driver to use by default).
Neither YAML nor JSON support including files. The config parser could be extended to interpret an 'include' key, e.g.
---
include:
- some_file.yml
- some_other_file.json
vs.
{
"include": ["some_file.yml", "some_other_file.json"]
}
(Yes, we could mix configuration file languages)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.