Permalink
Commits on Aug 31, 2012
Commits on Aug 18, 2012
  1. fix for issue 10

    adwu73 committed with emanlove Jul 30, 2012
    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. Merge pull request #73 from SoCalLongboard/htmlunit

    j1z0 committed Jul 1, 2012
    Add HTMLUnit remote driver support
Commits on Jun 30, 2012
  1. Merge pull request #72 from emanlove/add-get-text-support

    j1z0 committed Jun 30, 2012
    Add get text support
  2. Added the 'get text' keyword to be backwards compatible with the orig…

    emanlove committed Jun 30, 2012
    …inal Selenium Library.
  3. added the get_text back.

    jouk0 committed with emanlove Dec 21, 2011
  4. Merge pull request #66 from Harri/patch-1

    emanlove committed Jun 30, 2012
    couple typos; logLevel should be loglevel and locator attribute_locator
Commits on Jun 29, 2012
  1. Merge pull request #71 from emanlove/add-iframe-support

    emanlove committed Jun 29, 2012
    Add iframe support
  2. Applied fix which allows the internal function _page_conatains to sea…

    emanlove committed Jun 28, 2012
    …rch both <frame> and <iframe> elements.
  3. Added tests to verify 'Page Should Contain' keyword works with both f…

    emanlove committed Jun 28, 2012
    …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.
  4. Removed 'frame' tag when searching for frames, either <frame> or <ifr…

    emanlove committed Jun 28, 2012
    …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.
Commits on Jun 18, 2012
Commits on Jun 1, 2012
  1. Add CHANGES file

    rtomac committed Jun 1, 2012
  2. Minor update to build doc

    rtomac committed Jun 1, 2012
  3. Minor update to build doc

    rtomac committed Jun 1, 2012
  4. Doc update

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

    rtomac committed May 31, 2012
    …pip in install documentation
  2. Temporarily forgo running statuschecker.py under Robot 2.6 so that te…

    rtomac committed May 31, 2012
    …sts can still be run in that env
Commits on May 4, 2012
  1. fix log message checks to 2.7 statuschecker indexes (setup is now the…

    jussimalinen committed May 4, 2012
    … first keyword -> indexes increase by one)