Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "nemo", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Abstraction for automation test components", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -63,3 +63,3 @@ /*───────────────────────────────────────────────────────────────────────────*\ | ||
} | ||
caps = new webdriver.Capabilities(); | ||
caps = webdriver.Capabilities[tgtBrowser](); | ||
@@ -71,3 +71,3 @@ if (customCaps) { | ||
} | ||
caps.merge(webdriver.Capabilities[tgtBrowser]()); | ||
return caps; | ||
@@ -74,0 +74,0 @@ } |
@@ -109,5 +109,9 @@ /* global module: true, require: true, console: true */ | ||
nemo.driver.get("https://edit.yahoo.com/registration"); | ||
nemo.view.myView.fnamePresent(). | ||
nemo.view.myView.fnameWait(3000). | ||
then(function(present) { | ||
nemo.view.myView.fname().sendKeys("asdf"); | ||
if (present) { | ||
nemo.view.myView.fname().sendKeys("asdf"); | ||
} else { | ||
console.log('fname not present'); | ||
} | ||
}). | ||
@@ -144,2 +148,2 @@ then(function() { | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42574
802