2.6.1 • Published 9 months ago

@localnerve/get-attribute v2.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months 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

9 months ago

2.6.0

9 months ago

2.5.0

10 months ago

2.4.1

10 months ago

2.4.3

10 months ago

2.5.1

10 months ago

2.5.3

9 months ago

2.4.0

10 months ago

2.3.1

10 months ago

2.3.0

11 months ago

2.2.1

11 months ago

1.11.1

12 months 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

11 months ago

2.1.1

11 months ago

2.0.2

12 months ago

1.11.0

12 months ago

1.10.0

12 months ago

2.1.0

11 months ago

2.0.1

12 months ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago