Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jwebdriver

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwebdriver - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

31

lib/browser.js

@@ -1367,21 +1367,20 @@ 'use strict';

self.find(selector, function*(error, elements){
if(error){
return endWait(error);
}
else if(removed === true && elements.length === 0){
// removed
return endWait(null, elements);
}
else if(removed === false && elements.length > 0){
if(displayed){
// displayed
var ret = yield elements.displayed();
if(ret){
if(elements){
if(removed === true && elements.length === 0){
// removed
return endWait(null, elements);
}
else if(removed === false && elements.length > 0){
if(displayed){
// displayed
var ret = yield elements.displayed();
if(ret){
return endWait(null, elements);
}
}
else{
// wait dom
return endWait(null, elements);
}
}
else{
// wait dom
return endWait(null, elements);
}
}

@@ -1388,0 +1387,0 @@ // timeout

{
"name": "jwebdriver",
"version": "1.0.8",
"version": "1.0.9",
"description": "A webdriver client for node.js",

@@ -5,0 +5,0 @@ "homepage": "http://jwebdriver.com/",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc