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

browser-monkey

Package Overview
Dependencies
Maintainers
3
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-monkey - npm Package Compare versions

Comparing version 3.0.0-beta.12 to 3.0.0-beta.13

2

dist/lib/inputSelectors.js

@@ -9,3 +9,3 @@ var selectors = function () {

var input = 'input';
var text = 'input[type=text]';
var text = 'input[type=text],input:not([type])';
var hidden = 'input[type=hidden]';

@@ -12,0 +12,0 @@ var email = 'input[type=email]';

@@ -6,3 +6,3 @@ const selectors = (...sels) => {

const input = 'input'
const text = 'input[type=text]'
const text = 'input[type=text],input:not([type])'
const hidden = 'input[type=hidden]'

@@ -9,0 +9,0 @@ const email = 'input[type=email]'

{
"name": "browser-monkey",
"version": "3.0.0-beta.12",
"version": "3.0.0-beta.13",
"description": "reliable dom testing",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -34,2 +34,14 @@ import {DomAssembly} from './assemblies/DomAssembly'

it('can set text fields without explicit type', async () => {
assembly.insertHtml(`
<input class="address"/>
`)
await browser.set({
'.address': '7 Lola St',
})
expect(assembly.find('.address').value).to.equal('7 Lola St')
})
it('can set select fields', async () => {

@@ -36,0 +48,0 @@ assembly.insertHtml(`

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