Coder Social home page Coder Social logo

insite's People

Contributors

jfitisoff avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

insite's Issues

Check auto-generation routine

Need to review auto-generation routines for element wrapper classes and element accessors for basic DOM elements:

  • Double-check to see if anything is getting missed.
  • Review test coverage.

Add additional support for URL identification beyond the URL template

When there are pages with the following URL definitions:

set_url "/accounts{account_code}"
set_url "/accounts/new"

The wrong page can potentially be selected, depending on which URL template is matched first. URL matchers are the current solution for this but defining the right regular expression can sometimes be a little tricky. It shouldn't be that hard to do some additional analysis above and beyond a straight template match, which should mostly eliminate the need to specify a URL matcher.

Add browser wrapper

Create a browser wrapper class with support for all of the element and component methods. Create a separate method for returning the watir browser.

Better error when page accessor is called for page that hasn't been defined

The error shown below is raised when a nonexistent page accessor method is called and the site is on an undefined page. An error actually should be raised here but the current one isn't helpful. Need a better one.

[1] pry(main)> s.landing_page
NoMethodError: Could not apply landing_page. The current page could not be recognized. Current URL data:,
from /Users/john/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/insite-0.1.3/lib/insite/insite.rb:267:in `method_missing'
[2] pry(main)> s.page
=> #<Insite::UndefinedPage:0x00007fea71a297f8
 @browser=#<Watir::Browser:0x..f97027514995b2c44 url="data:," title="">,
 @site=#<Omni:0x70322449466460
 @base_url="###################" @most_recent_page=>,
 @url="data:,">

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.