2.6.1 • Published 1 year ago

@localnerve/get-attribute v2.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

get-attribute

A command to get a single attribute or property from a webpage, echo to stdout

npm version Verify Coverage Status

Example

Grab the full url from a specific anchor tag of interest (all options shown):

get-attribute --url=https://host.com/path --selector='a[href^="/videos"]' --attribute=href --useprop=true --timeout=5000 --launchargs='{"headless":true}'

# echoes the first matching href with full url from property: 'https://host.com/path/videos/123456789'

License

MIT

2.6.1

1 year ago

2.6.0

1 year ago

2.5.0

1 year ago

2.4.1

1 year ago

2.4.3

1 year ago

2.5.1

1 year ago

2.5.3

1 year ago

2.4.0

1 year ago

2.3.1

1 year ago

2.3.0

1 year ago

2.2.1

1 year ago

1.11.1

1 year ago

1.9.1

1 year ago

1.9.0

1 year ago

1.8.1

1 year ago

1.8.0

1 year ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

2.2.0

1 year ago

2.1.1

1 year ago

2.0.2

1 year ago

1.11.0

1 year ago

1.10.0

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago