Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 31, 2012
  1. @emanlove
Commits on Aug 18, 2012
  1. @adwu73 @emanlove

    fix for issue 10

    adwu73 authored emanlove committed
    The cause appears to be triggered by document.location parameter in the execute_script call on line 24.
    atts = self.execute_script("return [ window.id, window.name, document.title, document.location ];")
    
    IE driver returns a web element object but Firefox driver returns a dictionary:
    
    IE driver returns
    [None, '', u'Page Title', ]
    
    Firefox driver returns
    [None, '', u'Page Title', {u'search': '', u'assign': u'function assign() {\n [native code]\n}', u'hash': '', u'hostname': u'host.domain', u'replace': u'function replace() {\n [native code]\n}', u'reload': u'function reload() {\n [native code]\n}', u'host': u'host.domain', u'href': u'http://qtst.atpco.org/fmhome/login.jsp';, u'pathname': u'/path/to/file.html', u'protocol': u'http:', u'port': ''}]
    
    Since "Select Window" keyword offers locator options for name, title & url can you change line 24 to:
    atts = self.execute_script("return [ window.id, window.name, document.title, document.url ];")
    
    This tested ok for me on IE & Chrome and trusting this reference
    http://www.w3schools.com/jsref/prop_doc_url.asp it appears document.url is supported by all browser versions
    
    Hope this helps
Commits on Jul 1, 2012
  1. @j1z0
  2. @j1z0
  3. @j1z0

    Merge pull request #73 from SoCalLongboard/htmlunit

    j1z0 authored
    Add HTMLUnit remote driver support
Commits on Jun 30, 2012
  1. @SoCalLongboard
  2. @j1z0
  3. @j1z0
  4. @j1z0

    Merge pull request #72 from emanlove/add-get-text-support

    j1z0 authored
    Add get text support
  5. @emanlove
  6. @emanlove
  7. @jouk0 @emanlove

    added the get_text back.

    jouk0 authored emanlove committed
  8. @emanlove

    Merge pull request #66 from Harri/patch-1

    emanlove authored
    couple typos; logLevel should be loglevel and locator attribute_locator
Commits on Jun 29, 2012
  1. @emanlove

    Merge pull request #71 from emanlove/add-iframe-support

    emanlove authored
    Add iframe support
  2. @emanlove
  3. @emanlove

    Applied fix which allows the internal function _page_conatains to sea…

    emanlove authored
    …rch both <frame> and <iframe> elements.
  4. @emanlove

    Added tests to verify 'Page Should Contain' keyword works with both f…

    emanlove authored
    …rames and iframes. Currently iframe is failing as expected since patch has not been applied.
    
    Added test demonstrating how with the removal of the 'frame' tag from element searches could result in a "NoSuchFrameException" error if multiple elements have the same name attribute.  Also demonstrated is how one can use xpath to search for either frame or iframe or both in such a case as a work around.
  5. @emanlove

    Removed 'frame' tag when searching for frames, either <frame> or <ifr…

    emanlove authored
    …ame>,
    
    using _element_find().  Added fix for _page_contains which will search both
    <frame> and <iframe> elements. But this fix for _page_contains needs a test
    first which is why the fix is currently commented out.
  6. @kontulai @emanlove

    acceptance test cases for iframes

    kontulai authored emanlove committed
Commits on Jun 18, 2012
  1. @Harri
Commits on Jun 1, 2012
  1. Add CHANGES file

    authored
  2. Minor update to build doc

    authored
  3. Minor update to build doc

    authored
  4. Doc update

    authored
Commits on May 31, 2012
  1. Increment version, sort out some setuptools/ez_setup stuff, focus on …

    authored
    …pip in install documentation
  2. Temporarily forgo running statuschecker.py under Robot 2.6 so that te…

    authored
    …sts can still be run in that env
Commits on May 4, 2012
  1. @jussimalinen
  2. @jussimalinen
  3. @jussimalinen
  4. @jussimalinen
  5. @jussimalinen

    fix log message checks to 2.7 statuschecker indexes (setup is now the…

    jussimalinen authored
    … first keyword -> indexes increase by one)
Something went wrong with that request. Please try again.