#selenium

/

      • ODA_AG
        For a newbie, is there a good place or document to use to get started? The Selenium web site is rather confusing. Goal is to test IE and Chrome.
      • WhereIsMySpoon
        seems like it died at 1-2am last night
      • not even died, just quit normally
      • CTtpollard
        I found the api docs very useful
      • for the python driver anyway
      • WhereIsMySpoon
        CTtpollard: if only we could link them :P
      • CTtpollard shakes his fist at selbot
      • *shakes fist at lukeis*
      • probably moved his desk again
      • or had to -gasp- switch his pc off
      • ODA_AG
        thanks CTtpollard, I will look at them
      • Dave_B_
        hmm, I've jsut become aware of how overly-reliant I am on that bot… I actually don't know where the docs are!
      • WhereIsMySpoon
        Dave_B_: me either :p
      • hugs__ joined the channel
      • dude-x
        how does grid distribute tests among nodes?
      • say i have 2 modes with 4 browser slots each
      • kutenai has quit
      • mkaufman has quit
      • sahazel has quit
      • does it do round robbin?
      • Dave_B_
        it'll take all 4 fro mne node before hitting the other
      • WhereIsMySpoon
        round robin I think
      • Dave_B_
        unless this has changed, certainly used to just take first free browser which was ordered by node
      • Surum has quit
      • WhereIsMySpoon
        right, it'll take the first free browser
      • so its essentially round robin
      • dude-x
        dimacus: ^
      • rananda_ joined the channel
      • lukeis joined the channel
      • dimacus
        huh?
      • one sec
      • WhereIsMySpoon
        *chants* We! Want! Sel! Bot!
      • *looks at lukeis*
      • ohai
      • :p
      • dimacus
        Dave_B_: ok so this is how the grid would take nodes before my PR earlier this week
      • 1) Collect all the set of all nodes, 2) sort by some default java Collection.sort call, 3) try to start a new session on each node in the "sorted" set until the first node picks up and says "here you go"
      • rananda has quit
      • selbot2 joined the channel
      • my PR did a minor change to the Collection.sort, where it just changed step 2), and sorted all of the nodes by how busy they are, idle ones go on top, busy ones on the bottom (totalUsedSlots / totalCapacipty)
      • lukeis
        WhereIsMySpoon: is your life complete again? ;)
      • and yes… i moved desks *again*
      • WhereIsMySpoon
        lukeis: I thought as much :p
      • lukeis
        10th desk in 4.5 years ;)
      • WhereIsMySpoon
        and yes ;)
      • :api
      • selbot2
      • dimacus
        Dave_B_: it's not round robin per se… so some nodes will pick up more builds over and over right now, but at the very least, if there is a node that is idle while one is running 2 tests, the idle has a higher chance of picking up new build
      • WhereIsMySpoon
        ODA_AG: ^
      • i guess its kinda like a greedy round robin
      • at the moment
      • dude-x
        dimacus: that sounds a lot better now with your patch.
      • brma
        dude-x, WhereIsMySpoon: I got to the bottom of my event questions. It all comes down to the value of event.isTrusted, which is set to true for any event being initiated via webdriver synthetic events, but set to false when injecting js events directly on the page
      • WhereIsMySpoon
        yea
      • ODA_AG
        Thanks WhereIsMySpoon!
      • eteixeira has quit
      • WhereIsMySpoon
        brma: sounds like a reasonable explanation
      • dude-x
        brma: ah interesting; your element has side effects when webdriver clicks it
      • WhereIsMySpoon
        glad you got it sorted
      • brma
        My SUT cares abut this value, yes. Thanks guys
      • swampdragons joined the channel
      • akafred joined the channel
      • WhereIsMySpoon
        dude-x: I'd imagine some sort of pop-up appears when he clicks his input or similar
      • dimacus
        dude-x: it's not perfect but yes it's an improvment… i've been watching 1 grid's logs in particular. The issue would be, there are 20 nodes 18 of which were 100% idle and 2 of them would be running 2 or 3 instances of chrome builds at the same time… as of the PR the load is spread thinly across all nodes, at any given point 5 to 15 of them are running 1 build each
      • Dave_B_
        nice :)
      • dimacus
        alright folks i need lunch, cheers
      • WhereIsMySpoon
        o7
      • Dave_B_
        ciao
      • eteixeira joined the channel
      • AutomatedTester
        dude-x: hey, is appium working again for you?
      • dude-x
        i haven't upgraded to 2.47 yet, but based on the changes it should work ...
      • WhereIsMySpoon
        oh, 2.47 is out?
      • dude-x
        i am currently running a test now... I will try it on the next test run
      • WhereIsMySpoon
        *looks at channel topic*
      • dude-x
        yea 2.47 supports Edge and W3C specific stuff (marionette support for firefox)
      • garndt joined the channel
      • WhereIsMySpoon
        channel topic needs updating then :p
      • Meorge joined the channel
      • eteixeira_ joined the channel
      • ato
        Hopefully it won't be W3C specific for too long, so it can become “WebDriver general”. (-:
      • AutomatedTester
        woop that worked
      • ato: ++
      • TOPIC: https://github.com/SeleniumHQ/selenium | 2.46.0 - released w/ Edge support | logs @ https://botbot.me/freenode/selenium/ & https://github.com/seleniumhq/irc-logs | http://selenium-memes.tumblr.com
      • nicegraham______ joined the channel
      • lukeis
        AutomatedTester: 2.47 ;)
      • Dave_B_
        close
      • sahazel joined the channel
      • WhereIsMySpoon
        lol
      • ato
        But close enough?
      • Oh AutomatedTester just said “bbl” in another channel.
      • lukeis
        heh
      • TOPIC: https://github.com/SeleniumHQ/selenium | 2.47.0 - released w/ Edge support | logs @ https://botbot.me/freenode/selenium/ &  https://github.com/seleniumhq/irc-logs | http://selenium-memes.tumblr.com
      • WhereIsMySpoon
        yay
      • Dave_B_ cheers
      • lukeis: also, the second logs link is not really up to date
      • last update 4 mo ago
      • lukeis
        WhereIsMySpoon: but it has "history"
      • eteixeira has quit
      • WhereIsMySpoon
        maybe put (historical) ?
      • lukeis
        i'm ok with getting rid of it… people who really care can find it
      • WhereIsMySpoon
        yea
      • TOPIC: https://github.com/SeleniumHQ/selenium | 2.47.0 - released w/ Edge support | logs @ https://botbot.me/freenode/selenium/  | http://selenium-memes.tumblr.com
      • most people just want to look at the logs for the previous hours or day anyway
      • not years
      • Matthi has quit
      • dude-x
        oh my running an appium test is making the fans spin on my mac book pro.
      • Dave_B_
        they get pretty noisy
      • dimacus has quit
      • dude-x
        hmmm iTerm 3 is using 1.5GB of ram. <checks scrollback setting. sees Infinite SCrollback enabled.> I see...
      • lukeis
        jimevans: so… i guess i need to make a "edge-driver" maven package :-/
      • tourdedave joined the channel
      • especially since it got defaulted to the 'leg-rc' package… heh
      • dolu joined the channel
      • Stevesan has quit
      • brma
        Is there any reason to use marionette if I don't need to interact with Firefox's browser chrome?
      • lukeis
        your chances of getting "native" interaction are much higher if you use marionette… plus it is "the future" but i don't believe it's a substitute for FirefoxDriver yet
      • dude-x
        is that how you see marionette?
      • brma
        I'm not sure how to see it, I guess.
      • ColinSauce joined the channel
      • more native events are a good thing though
      • lukeis
        when "shopping around" for a new manager and the new manager wants to talk to you while they are on vacation… I take that as a bad sign ;)
      • dude-x
        office politics?
      • selenium33 joined the channel
      • lukeis
        dude-x: my previous manager left the company last week and there is no intention to re-fill the position. Rather just shuffle my team around
      • selenium33 has left the channel
      • bimmelino has quit
      • angular_mike_ joined the channel
      • elmcrest joined the channel
      • yenaemj has quit
      • dude-x
        AutomatedTester: confirmed that I have no issue with 2.47.0 using appium
      • bobacus has quit
      • sgsabbage has quit
      • Sudhansu has quit
      • dubner has quit
      • mkaufman joined the channel
      • zeljkof-away joined the channel
      • kutenai joined the channel
      • bobacus joined the channel
      • ss_much joined the channel
      • blackboxd has quit
      • ato
        brma: In addition to what lukeis said, FirefoxDriver will eventually break because it doesn't support multi-processed Firefox.
      • brma: Right now, however, Marionette does not have parity with FirefoxDriver in terms of compatibility and features.
      • alien_ has quit
      • blackboxd joined the channel
      • ishana joined the channel
      • jimevans
        lukeis: did i put the edge driver pieces in the wrong package?
      • jeffmjack joined the channel
      • yenaemj joined the channel
      • dude-x
        do brits use the word 'tiffin'
      • titusfortner joined the channel