#selenium

/

      • NOTICE: SeleniumHQ/selenium#3473 (master - 5230264 : Simon Stewart): The build is still failing.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/2ce87c152b70...52302645fc77
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/344570963
      • kpschmid_ joined the channel
      • kpschmidt has quit
      • kpschmid_ has quit
      • alxy has quit
      • andylavarre has quit
      • andylavarre joined the channel
      • smccarth_ joined the channel
      • NOTICE: SeleniumHQ/selenium#3474 (master - f1a97a4 : Simon Stewart): The build is still failing.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/52302645fc77...f1a97a49d072
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/344574679
      • tkdeshpande-sl joined the channel
      • tkdeshpande-sl
        Do we have a #jobs thread here? Or am I missing something?
      • idontneedanick joined the channel
      • andylavarre has quit
      • andylavarre joined the channel
      • smccarthy-sl joined the channel
      • smccarthy-sl
        Don't think so
      • marxarelli is now known as marxarelli|afk
      • errant_rider joined the channel
      • jpatel_ joined the channel
      • jpatel has quit
      • smccarthy joined the channel
      • jpatel__ joined the channel
      • jpatel_ has quit
      • freefork_afk is now known as freestyledork
      • jpatel_ joined the channel
      • jpatel__ has quit
      • tkdeshpande-sl has quit
      • fairuz joined the channel
      • fairuz has quit
      • p0deje joined the channel
      • smccarthy-sl has quit
      • p0deje has quit
      • andylavarre has quit
      • idontneedanick joined the channel
      • jpatel_ has quit
      • p0deje joined the channel
      • smccarthy joined the channel
      • spathare joined the channel
      • dude-xx joined the channel
      • dude-x_ joined the channel
      • idontneedanick joined the channel
      • niraj joined the channel
      • niraj
        could you pls provide me c# test case example using webdriver
      • ???
      • niraj has quit
      • mfsi_ankitm joined the channel
      • r0kc4t has quit
      • Hounddog has quit
      • Hounddog joined the channel
      • pouledodue joined the channel
      • Hounddog joined the channel
      • p0deje has quit
      • p0deje joined the channel
      • Lina_ joined the channel
      • smccarthy joined the channel
      • kpschmidt joined the channel
      • KaL joined the channel
      • asno_ has quit
      • kpschmidt has quit
      • smccarthy joined the channel
      • pouledodue joined the channel
      • mtodor joined the channel
      • p0deje has quit
      • kpattich_ joined the channel
      • ish_abbi joined the channel
      • p0deje joined the channel
      • bpascal joined the channel
      • AdanedelBy joined the channel
      • jackofspaces-sl joined the channel
      • jackofspaces-sl
        good morning :wave: is there a technique for finding a WebElement via Xpath where it has the highest value for an attribute? e.g `row-index="25"`
      • i want to find a child element with the highest value for row-index
      • mtodor has quit
      • luke-sl joined the channel
      • luke-sl
        ooooh good question. I'm not sure exactly how you'd do that. I know a method that would.
      • mtodor joined the channel
      • so you could do something like (ruby) # find ell elements with row-index `indices =elements.map { |el| el[row-index] }` `highest_val = indices.map(&:to_i).max`
      • then you knnow the highest value. Research using `row-index="MAX"`
      • that is taking a bazooka to it.
      • smccarthy joined the channel
      • jackofspaces-sl
        interesting, i could read all values with a row-index into a ListWebElement do some sorting based on the attribute value and order them based on that
      • then use the size of the list -1
      • luke-sl
        yes, thats what my code does.
      • But that is a bazooka approach.
      • Good question though
      • I'm not sure sorting first would work (Because the items would be probably stringified)
      • jackofspaces-sl
        i can't think of a better solution, there is no [max()] for xpath i believe, i would use [last()] but it returns the last element in the page source and mine are not in order there
      • luke-sl
        You probably need to map (Ruby-ism), them all to integers before sorting.
      • mtodor has quit
      • artlinm-sl joined the channel
      • niQo joined the channel