#selenium

/

      • simonstewart
        Now to find out if I can arrange docker images in a tree, so I can kill the root image and have everything that uses it also die
      • jimevans has quit
      • diemol-sl
        could be a step backwards, I am not sure if there is a better to still get the output on the same console
      • for the 2nd thing, I think it is better to use docker compose for that, when you stop it, it stops all the images
      • simonstewart goes and googles
      • simonstewart
        diemol-sl: it's sometimes useful to get all the output to the same console
      • manoj9788-sl
        @simonstewart on a terminal window, using docker logs --follow [container id]
      • simonstewart
        Interesting. Thanks manoj9788-sl
      • Task for today: merge how we start webdriver images in Grid, Standalone, and the RC emulation
      • And do matching of requests
      • And not assume that everything fits in memory, but it might
      • diemol-sl
        docker attach and docker logs --follow do the same as --ti, so I don't really know if there is something that works exactly as @simonstewart wants step backwards indeed, maybe someone else knows?
      • WhereIsMySpoon has quit
      • WhereIsMySpoon joined the channel
      • WhereIsMySpoon has quit
      • WhereIsMySpoon joined the channel
      • simonstewart
        WebDriverBackedSeleniumServlet: creates a Capabilities object, then uses that. Old DriverServlet: deserializes request and builds a new session payload. WebDriverServlet: creates a CommandHandler and that reads the request, Grid: expects capabilities to be singular and deserializes the lot of them
      • Oh boy
      • shree has quit
      • Guest39695 has quit
      • githubmgw joined the channel
      • Time to go delving into how Grid does prioritisation of incoming requests
      • WhereIsMySpoon has quit
      • WhereIsMySpoon joined the channel
      • WhereIsMySpoon has quit
      • WhereIsMySpoon joined the channel
      • diemol-sl
        isn't it first come first serve? unless you pass a class that overwrites it?
      • simonstewart
        It probably is
      • Chatting with Francois too :)
      • diemol-sl
        I guess that is easier
      • simonstewart
        :)
      • What's the point of knowing everyone on the project if I can't ask for help sometimes?
      • stryx` joined the channel
      • drfunjohn joined the channel
      • drfunjohn has quit
      • KaibutsuX joined the channel
      • manoj9788-sl has quit
      • spathare joined the channel
      • kpschmidt joined the channel
      • kpschmidt has quit
      • spacecadetbrown joined the channel
      • spathare has quit
      • micahel joined the channel
      • micahel
        Anyone here?
      • Need some assistance please
      • dude-x
        just ask your question
      • ardesco-sl joined the channel
      • ardesco-sl
        !ask
      • dude-x
        :ask
      • selbot2
        If you have a question, please just ask it. Don't look for topic experts. Don't ask to ask. Don't PM. Don't ask if people are awake, or in the mood to help. Just ask the question straight out, and stick around. We'll get to it eventually :)
      • ardesco-sl
        do ! instead of :
      • micahel
        So I have installed Eclipse and followed all the steps to install Selenium IDE and the Webdriver with Eclipse. New to it yes.
      • dude-x
        the bot has always used : for the last 6 years.
      • micahel
        Long story short, I cannot find the source files needed for the webdriver class anywhere
      • ardesco-sl
        yeah, but I’ve used lots of things over the past 6 years and they all merge into one confusing mess in my head ;)
      • micahel
        org.openga.selenium.WebDriver Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.
      • I have tried everything. Have downloaded all the jar files for Java from Selenium and added them to the build path. Nothing.
      • simonstewart
        If you've used maven to get selenium, then just ask it to also download source jars
      • jimevans joined the channel
      • TacticSiege joined the channel
      • micahel
        Na I didnt hey.....downloaded the Java JDK, then Exclipse, then the Jar files and added them to the build path
      • simonstewart
        Where did you get the jar files?
      • The site?
      • micahel
      • simonstewart
        Huh. I thought we packed the source in there too
      • micahel
        Apparently not :/
      • simonstewart
        Apparently not :)
      • micahel
        And I cannot find it anywhere online
      • Lol yeah....
      • simonstewart
      • You can grab source jars from maven central
      • All the releases are kept in sync
      • micahel
        I added both those jar files as well as the server jar
      • simonstewart
        You don't add the source to the build path. There's some other steps in Eclipse
      • diemol-sl
        @titusfortner is watir.com not valid anymore?
      • micahel
        Which source file am I looking for though? Sorry to be daft here.....
      • simonstewart
        Great Scott! I think I can finally merge Grid, Node, and Standalone
      • WhereIsMySpoon
        *holds onto seat*
      • simonstewart
        micahel: just whack the whole source jar into eclipse as suggested by the stackoverflow post
      • diemol-sl
        cool!
      • simonstewart
        It'll take some clever shenanigans.
      • And I may end up rewriting a reasonable chunk of code
      • But I have a way forward.
      • Might also allow you to mark a hub or node as "draining", so it completes active sessions, and then quits
      • extor joined the channel
      • Without accepting new session requests
      • TacticSiege
        Heya folks, Chrome stopped allowing embedded credentials in URLs in my test suite last night. I'm looking for a new way to specify the credentials. I'm not getting an authentication popup. I thought I was using NTLM Auth but passing credentials in url was working, so I guess i'm just using basic... Any help greatly appreciated
      • micahel
        So I attached the sources.jar file as the Source under the Selenium jar file?
      • Not working arg
      • WhereIsMySpoon
        TacticSiege: use a proxy
      • TacticSiege: BrowserMob is one often used with selenium
      • simonstewart
        My fish is doing a startling good impression of an ex-fish. This does not bode well.
      • WhereIsMySpoon
        :(
      • simonstewart
        Turns out she has a wicked sense of humour
      • Fish! I am unimpressed!
      • ardesco-sl
        @michael if you want to go down the maven route there is a starter project here you can try: https://github.com/Ardesco/Selenium-Maven-Template Eclipse should be able to deal with maven projects just fine.
      • jimevans
        i wish we'd had time to get basic auth into the spec...
      • simonstewart
        Seconded.
      • WhereIsMySpoon has quit
      • jimevans: aren't you in a giant metal tube, hurtling through the atmosphere at some terrifying speed?
      • jimevans
        but i'm experiencing a little schadenfreude now that chrome users have to deal with everything that IE users have had to deal with for years.
      • simonstewart: indeed i am
      • simonstewart
        Nothing like a schadenfreude
      • Ortho joined the channel
      • jimevans
        headed to a city a mile above sea level for a couple of hours, then on to the land of the rising sun
      • TacticSiege
        WhereIsMySpoon: that's quite a leap from just prepending to the URL to setting up and learning a fair bit about the whole proxy rigging, is there a more code oriented solution?
      • simonstewart
        micahel: if you have code already, you can do this: https://stackoverflow.com/questions/9164893/how...
      • michl68 joined the channel
      • Personally, I use something that understands maven dependencies and then pulls them locally. And then I stop touching anything maven related
      • mfsi_ankitm has quit
      • jimevans
        much to my dismay, i'm dealing with fixing a crap-ton of tests that use the :contains() pseudoselector in a css locator
      • because effing selenium rc
      • No More RC!
      • WhereIsMySpoon joined the channel
      • WhereIsMySpoon has quit
      • WhereIsMySpoon joined the channel
      • and dealing with the fallout of where i inevitably forget a bracket in my conversion of the locator to xpath…
      • jimevans sighs heavily
      • dude-x
        the grind
      • jimevans
        i have, over the last six weeks, converted over 22000 tests from the selenium RC technology stack to the webdriver stack.
      • selbot2
        03illicitonion over 5 years ago - --- | https://github.com/SeleniumHQ/selenium/commit/2...
      • jimevans
        maybe not the api, which we wrap all to hell anyway, but the engine.
      • WhereIsMySpoon
        !m jimevans
      • [b__b]
        You're doing good work, jimevans!
      • digesting_duck joined the channel
      • jimevans
        it honestly hasn't been *that* hard to do.
      • because wrapper api
      • railswebdev joined the channel
      • but i've been trying for nearly five years to get this done
      • and asking other teams to actually take ownership of their stuff
      • and being told at every turn that "it'll take too much effort"
      • i've finally gotten fed up.
      • to paraphrase mr. wednesday from the season finale of the recent american gods adaptation, "anger gets shit done"
      • (incidentally, if you like gaiman's work, and you're a fan of the novel, and you're not watching the tv adaptation, you're missing out)
      • Staunch joined the channel
      • simonstewart
        The TV series is excellent. This is true
      • 22K tests? Perkele!
      • :yt rise PIL
      • jimevans
        you forget just how many selenium tests we have at salesforce. it's an ungodly number.
      • and there are still another 7000 or so more to go.
      • not that i'm going to be doing that conversion on those.
      • selbot2
      • jimevans
        i'm just grabbing the low-hanging fruit, the tests that already work via webdriver without any other code change.
      • simonstewart
        Can I ask a daft question?
      • jimevans
        of course.
      • TacticSiege
        WhereIsMySpoon: any recommendations for a .net friendly proxy? I need something that can run as a fixed account, but use credentials provided at runtime
      • simonstewart
        Why not just create a "ByJQuery" and use that?
      • WhereIsMySpoon
        TacticSiege: i know zip about .net