GithubHelp home page GithubHelp logo

roryprimrose / headless Goto Github PK

View Code? Open in Web Editor NEW
86.0 86.0 11.0 2.51 MB

Headless browser support for fast web acceptance testing in .Net

License: MIT License

Shell 0.02% C# 62.22% CSS 1.27% ASP 0.01% JavaScript 36.48%

headless's People

Contributors

jonwagner avatar roryprimrose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

headless's Issues

Add object constructor and additional type specific overloads to PostEntry

Creating a PostEntry instance shouldn't require the developer to specifically cast all values to a string. There should be a constructor that takes in object as the value. Other constructor overloads should also be provided for the common value types to avoid boxing/unboxing for the common types.

Add IHtmlElementFinder.Single()

There is currently no simple way to select a single element using the selectors determined by the generic constraint. The closest equivalent is Find.All().EnsureSingle().

Add location validation support so that Page can provide mulitple target alternatives

There are two problems with the current location verification.

  1. Does not support multiple possible target locations without overriding IsOn
  2. Does not support custom data in locations because locations are defined against the page type rather than the page instance

Solutions to this are to provide the framework for validating multiple target locations so that a derived page only has to define the possibilities, not the validation logic.

The second point is already taken care of in terms of navigation because the specific location can be requested via the Browser class. The solution above for #1 will then also solve the validation of custom data in locations.

Add support to post a file via API

Currently the only way to post a file is to use a page that uses a file input type. The api should expose this via code using both file path and stream overloads.

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.