Socket
Socket
Sign inDemoInstall

@atomic-testing/component-driver-html

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomic-testing/component-driver-html - npm Package Compare versions

Comparing version 0.28.0 to 0.29.0

2

dist/components/HTMLSelectDriver.js

@@ -83,3 +83,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
const labels = Array.isArray(label) ? label : [label];
const labels = core_1.collectionUtil.toArray(label);
const values = yield this.getValuesByLabels(labels);

@@ -86,0 +86,0 @@ yield this.setValue(values);

{
"name": "@atomic-testing/component-driver-html",
"version": "0.28.0",
"version": "0.29.0",
"description": "HTML component driver for atomic-testing",

@@ -25,3 +25,3 @@ "main": "dist/index.js",

"dependencies": {
"@atomic-testing/core": "0.28.0"
"@atomic-testing/core": "0.29.0"
},

@@ -28,0 +28,0 @@ "devDependencies": {

@@ -1,2 +0,10 @@

import { byTagName, ComponentDriver, IInputDriver, listHelper, locatorUtil, Nullable } from '@atomic-testing/core';
import {
byTagName,
collectionUtil,
ComponentDriver,
IInputDriver,
listHelper,
locatorUtil,
Nullable,
} from '@atomic-testing/core';

@@ -45,3 +53,3 @@ import { HTMLOptionDriver } from './HTMLOptionDriver';

async selectByLabel(label: string | readonly string[]): Promise<void> {
const labels = Array.isArray(label) ? label : [label];
const labels = collectionUtil.toArray(label);
const values = await this.getValuesByLabels(labels);

@@ -48,0 +56,0 @@ await this.setValue(values);

Sorry, the diff of this file is not supported yet

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