Code Monkey home page Code Monkey logo

terraform-provider-chromedp's People

Contributors

dependabot[bot] avatar eliastor avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

baharyazici

terraform-provider-chromedp's Issues

Timeout for wait_visible

Do we have opportunity to set up timeout for wait_visible action?
For example:
["wait_visible", "#login-html", "1m"]
or
["wait_visible", "#login-html", "60s"]

Intermediate screenshots

Do we have opportunity to take screenshots after some iterations, for example:

data "chromedp_recipe" "login" {
  screenshot_filename = "${path.module}/test.login.png" # final screenshot
  actions = [
    ["sleep", "3s"],
    ["navigate", data.terraform_remote_state.prod.outputs.site-ui-url],
    ["wait_visible", "#login-html"],
    **# Here is screenshot**
    ["screenshot_filename", "${path.module}/first-login-html.png"],
    ["text", "#caption_header", "greeting"],
    ["sleep", "1s"],
    ["set_value", "input#username", local.credentials.login],
    ["set_value", "input#password", local.credentials.password],
    ["click", "#signinbutton"],
    ["sleep", "8s"],
    **# Here is screenshot**
    ["screenshot_filename", "${path.module}/signin-html.png"],
    ["wait_visible", "input#signOutBtn"],
    ["text", "#currentUser > div > div", "username"],
    ["click", "input#signOutBtn"]
  ]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.