#selenium

/

      • jimevans
        no worries. i'm making sure the branch is up-to-date and will run properly anyway.
      • simonstewart
        Lovely. Thank you
      • SitamJana joined the channel
      • nihilwill joined the channel
      • jimevans: just sent an email to the w3c mailing list asking about how we'll manage the conformance suite.
      • oooooooooooo
        thanks, lucast. How do I assert the existence of an element on a page?
      • like .is_displayed(), but just about the existence of such a node in DOM
      • lucast
        well, if you aren't catching the error it raises already i'm assuming the test would fail
      • simonstewart
        That was cutting it fine. The W3C WG has been extended to 30th September
      • oooooooooooo
        so if .find_element() fails - the unittest stops and the script tearDowns?
      • lucast
        i believe so, haven't used unittest in a while... you could try it
      • .find_element_by_css_selector('#spoons')
      • unless you're on some sort of cutlery website...
      • in that case i'd use a different selector
      • Selenium-Github
        [13selenium] 15shs96c pushed 1 new commit to 06master: 02https://git.io/vSZju
      • 13selenium/06master 14cd0b8b7 15Simon Stewart: Fix the build
      • simonstewart
        The AuthenticatedPageLoadingTest doesn't seem to produce much value
      • jimevans
        it did at one point. the IE driver implemented the authentication end point.
      • but then microsoft changed the auth dialog, and i never updated it.
      • davehunt joined the channel
      • rajeev-sl
        HI All, is mouse actions are fixed in 3.3.1? with latest gecko? I am using latest firefox as well. 52
      • michl68 has quit
      • lucast
        rajeev-sl: are you having issues?
      • they are implemented, but there are still a couple bugs
      • simonstewart
        jimevans: I don't suppose you have the logs from a test run with the w3c IE driver?
      • rajeev-sl
        hi, Lucast, yes not working for me.
      • lucast
        can you elaborate?
      • rajeev-sl
        Used old way -
      • a.moveToElement(e).click(e).build().perform();
      • jimevans
        simonstewart: which logs do you mean?
      • simonstewart
        The list of failing tests.
      • rajeev-sl
        No capabilities are added @lucast
      • jimevans
        ah. indeed i do. i can give you the results xml...
      • simonstewart
        Perfect. Thank you
      • lucast
        rajeev-sl: does it give you an error?
      • barancev is running ie tests in the branch
      • rajeev-sl
        No errors as well, just some logs with regards to js errors.. from Gecko logs
      • simonstewart
        Thanks barancev
      • lucast
        rajeev-sl: on a side note, click(e) would do the move itself, no need to move first
      • rajeev-sl
        tried without moveto also
      • lucast
        rajeev-sl: if there are no errors then you'd have to talk to mozilla
      • rajeev-sl
        i see
      • NOTICE: Yippee, build fixed!
      • NOTICE: Project Build_All_Java build #7316: FIXED in 12 min: http://ci.seleniumhq.org:8080/job/Build_All_Java/7316/
      • NOTICE: Project Build_All_BUCK_Linux build #940: STILL FAILING in 54 sec: http://ci.seleniumhq.org:8080/job/Build_All_BUCK_Linux/940/
      • barancev
        simonstewart: do we need volunteers to develop tests for the spec? it is worth to make a public appeal?
      • simonstewart
        Yes, and yes
      • I'll be making one at SeConf
      • kd0t joined the channel
      • barancev
        so we need a landing page with contacts of a person
      • who will orchestrate this activity
      • simonstewart
      • It's like you read my mind
      • barancev
        I read your message :)
      • simonstewart
        I suspect the coordination will happen on the W3C #webdriver channel
      • Or in that spreadsheey
      • lucast
        oh nice, didn't see the extension, woohoo
      • alien_ has quit
      • barancev
        jimevans: it is expected that ie hangs on file upload dialogs?
      • jimevans
        barancev: no. it should not. if it does, i really need an IEDriverServer.exe log at TRACE level. people have been complaining about a bug there off and on for awhile, but i can never reproduce it.
      • oooooooooooo
        I am stuck
      • barancev
        ok, I'll rerun file upload test later, with TRACE log level
      • the main test suite is still running
      • oooooooooooo
        'element = self.driver.find_element(By...., ...)' 'element.is_displayed()' - true, but 'element.click()' returns the error saying that the element is not clickable at point bla bla and that other element would receive the click.
      • if it is displayed, how it can't be clicked?
      • barancev
        done
      • TESTS FAILED: 75 FAILURES
      • jimevans: ^^^
      • dude-x
        oooooooooooo try putting a time.sleep(2) before the click command. this is a simple test to see if you need to wait a bit.
      • oooooooooooo
        dude-x: done, didn't work.
      • dude-x
        okay change the locator then
      • oooooooooooo
        why?
      • dude-x
        it's obstructing the thing you're clicking on.
      • oooooooooooo
        it what?
      • I'm finding element by ID, it is unique
      • dude-x
        it's blocking the element you're clicking on
      • doesn't matter
      • jimevans
        barancev: i have 49 failures. please make sure you're at the very latest on the branch (with AuthenticatedPageLoadingTest ignored for IE)
      • oooooooooooo
        dude-x: so what should I do?
      • I'd understand it if something covered it
      • dude-x
        try an element that's higher than the thing you're clicking
      • oooooooooooo
        but is_displayed = true for some reason (it should not be true)
      • NOTICE: SeleniumHQ/selenium#1928 (ie-w3c - ed1c500 : Jim Evans): The build is still failing.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/dc80b71b1423...ed1c500cc817
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/216774840
      • dude-x
        it is displayed...
      • oooooooooooo
        but I see that it is not
      • or is there something like .is_visible()?
      • dude-x
        is_dispalyed == true?
      • is_displayed is the visbility test
      • oooooooooooo
        well, it fails
      • it says the element is visible, while it is not
      • WhereIsMySpoon
        oooooooooooo: youre not understanding what visibility is
      • lucast
        just because something is covering it doesnt mean that it's not displayed
      • sbulage has quit
      • WhereIsMySpoon
        selenium doesnt use human beings to discern visibility
      • it checks some specific conditions
      • oooooooooooo
        ah, so .is_displayed() just checks for presence in DOM tree + that the element is not disabled?
      • WhereIsMySpoon
        and that it isnt display: none and that its visibility: visible
      • and probably a few others
      • disabled has nothing to do with it afaik
      • dude-x
        there is .is_enabled()
      • jimevans
        oooooooooooo: and that it's in the view port, and that it's not of zero height and width, and that its css properties would cause it to be visible.
      • WhereIsMySpoon
        there you go ^
      • oooooooooooo
        so there's no way to figure out if button is available for click?
      • WhereIsMySpoon
        heh
      • when you figure out, let everyone here know
      • dude-x
        there is WebDriverWait
      • oooooooooooo
        so the answer is 'no'? do you have to play games with me?
      • jimevans
        the problem isn't that it's not displayed. the problem is that there's another element above it in the z-order at the location the driver is trying to click.
      • [rahul] has quit
      • oooooooooooo
        oh, really?
      • jimevans
        just because there's another element in the way doesn't mean the element you're looking for isn't "visible"
      • WhereIsMySpoon
        *at the location and time
      • oooooooooooo
        I think it's that the element is just covered by another one
      • jimevans
        it just means you can't click on it directly.
      • WhereIsMySpoon
        just to be specific
      • oooooooooooo
        so that I can't click it using cursor
      • like something is just over it
      • simonstewart
        right
      • jimevans
        that's what the exception is telling you, yes.
      • WhereIsMySpoon
        yes, oooooooooooo
      • NOTICE: SeleniumHQ/selenium#1928 (ie-w3c - ed1c500 : Jim Evans): The build is still failing.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/dc80b71b1423...ed1c500cc817
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/216774840
      • randallwy-sl has quit
      • buzzLightBeer has quit
      • oooooooooooo
        so that's what that error was about
      • barancev
      • IE11, win64
      • Chrisz has quit
      • NOTICE: SeleniumHQ/selenium#1928 (ie-w3c - ed1c500 : Jim Evans): The build is still failing.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/dc80b71b1423...ed1c500cc817
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/216774840
      • GodFather joined the channel
      • simonstewart: should we suppose it's always true? https://github.com/SeleniumHQ/selenium/blob/mas...
      • what about htmlunit tests with "JS off"? disabling this mode?
      • roelmonnens joined the channel
      • jimevans
        barancev: looks like your results are substantially similar to mine, modulo the file selection dialog issues.
      • NOTICE: SeleniumHQ/selenium#1928 (ie-w3c - ed1c500 : Jim Evans): The build is still failing.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/dc80b71b1423...ed1c500cc817
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/216774840
      • simonstewart
        barancev: no
      • We can't assume it's always true
      • kyuwonchoi has quit
      • NOTICE: SeleniumHQ/selenium#1928 (ie-w3c - ed1c500 : Jim Evans): The build is still failing.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/dc80b71b1423...ed1c500cc817
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/216774840
      • But what we can do is remove the method and reduce down to "is(JAVASCRIPT_ENABLED)"
      • It's going in 3.5