This providers allows you to use chromedp in terraform in form of recipes.
- Clone the repository
- Enter the repository directory
- Build the provider using the Go
installcommand:
go installPlease refer do examples/.
If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).
To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.
To use provider in sample terraform code ~/.terraformrc must be edited:
provider_installation {
dev_overrides {
"hashicorp.com/eliastor/chromedp" = "<your go bin path>"
}
direct {}
}To generate or update documentation, run go generate or make doc-gen.
In order to run the full suite of Acceptance tests, run make test.
make test- Navigate
- Wait_visible
- Click
- Value (getting content of forms, inputs, textareas, selects, or any other element with a '.value' field.)
- Text (getting text content of the element)
- Focus
- Cookies (setting cookies)
- Screenshots
- Text into fields
- browserless.io support (untested, but should work)
- Attribute with cookie
- Support of selects and other form elements
- Downloads
- Uploads
- Send keys
- Submit
- Emulate different viewports