#selenium

/

      • selbot2
        Please read http://sscce.org/
      • simonstewart
        I fear that at some point, I may have to contribute code to the php bindings
      • jwhisnant has left the channel
      • kpschmidt
        What is the tentative plan/timetable for deprecating support for legacy FirefoxDriver?
      • davehunt-sl
        kpschmidt: I believe it will be after Firefox ESR-1 is no longer supported by it
      • kpschmidt has quit
      • barancev|2
        yes, it's tied to ESR lifecycle
      • kpschmidt joined the channel
      • GodFather joined the channel
      • davehunt-sl
        2018-03-05 is when ESR becomes 59.0 and ESR-1 will be 52.x
      • jasonmintz-sl joined the channel
      • pauluchon
      • kpschmidt
        davehunt-sl: thanks
      • jasonmintz-sl
        Hi, I'm having an issue with selenium / webdriver / chrome on heroku, it looks like someone potentially solved the issue here: https://github.com/heroku/heroku-buildpack-goog... but I'm having trouble translating that to the appropriate ruby / selenium settings, could anyone help with that?
      • WhereIsMySpoon has quit
      • simonstewart
        kpschmidt: When Firefox ESR-1 no longer supports XPI
      • pauluchon
        simonstewart: I'm migrating from old phpunit bindings to facebook ones. I've asked the main dev of the project if he is interested to get closer to selenium team for better support
      • simonstewart
        I may poll users to find out how wide-spread the old Firefox usage is at that point
      • pauluchon: It'd be nice to see them here
      • pauluchon
        simonstewart: I'm still waiting an answer but he's quite active on github, I've proposed my help in order to implement the new spec in those bindings.
      • simonstewart
        I'll ping FB too
      • pauluchon
        Thank's
      • kpschmidt
        simonstewart: It is currently our fallback/stable grid solution. We have a 2nd grid in AWS running java bindings v3.4.0 but use proxies extensively.
      • simonstewart: also some of my test teams are reporting tests get queued in grid but never get executed but reported as fail.
      • simonstewart
        kpschmidt: does that happen with 3.5.3?
      • kpschmidt
        this is for the AWS 3.4.0 grid... no problem with legacy grid running v2.53
      • sgp619-sl has quit
      • I have not deployed 3.5.3 yet as I currently have an issue with proxies 'InvalidArgumentException: direct was not a valid proxyType value'
      • simonstewart
        Interesting
      • Which driver reports that?
      • kpschmidt
        geckodriver
      • jbodolla-sl joined the channel
      • p0deje has quit
      • simonstewart: geckodriver for InvalidArgumentException that is
      • simonstewart
        Interesting. geckodriver 0.18?
      • kpschmidt
        correct
      • toddpratt joined the channel
      • simonstewart
        AutomatedTester: any idea ^^
      • TL;DR: proxyType "direct" not being accepted by geckodriver
      • whimboo might have an idea too
      • AutomatedTester
        I think moz#1387092 is it
      • selbot2
        03Henrik Skupin (:whimboo) RESOLVED/FIXED Add support for proxyType "direct" (noproxy) - https://bugzilla.mozilla.org/show_bug.cgi?id=13...
      • pauluchon
      • simonstewart
        There you go, kpschmidt. Fixed in the next release :)
      • kpschmidt
        simonstewart: awesome! so it is a marionette fix?
      • simonstewart
        Yeah
      • barisyesilcicek joined the channel
      • WhereIsMySpoon joined the channel
      • WhereIsMySpoon has quit
      • WhereIsMySpoon joined the channel
      • barisyesilcicek has quit
      • spl4422 joined the channel
      • kpschmidt
        simonstewart: Can the Proxy object now be used with 3.5.3? Or is there work still being done in that area?
      • WhereIsMySpoon
        jasonmintz-sl: :api
      • selbot2
      • WhereIsMySpoon
        ruby api is there ^ constructors for the driver should be in there
      • you’ll probably need to pass in the chromedriver path if thats the same issue youre having
      • GodFather has quit
      • tombee-sl joined the channel
      • tombee-sl
        Does anyone know if you can run Selenium nodes on Windows Server Core? (Trying to come up with a solution for testing IE/Edge given the infra we have)
      • Ouchy has quit
      • Ouchy`w has quit
      • Ouchy joined the channel
      • Ouchy`w joined the channel
      • WhereIsMySpoon
        tombee-sl: saucelabs use windows server 2012 to run nodes on windows with
      • Ouchy has quit
      • Ouchy joined the channel
      • not sure what Core is
      • tombee-sl
        I fear the “There is no Windows shell and very limited GUI functionality.” might be a problem
      • kpschmidt
        tombee-sl: I'm using a MS provided Win10/Edge VM as an AMI in AWS, but it is only good for 90 days :-(
      • barancev|2
        pauluchon: rewrote to Java binding, can't reproduce
      • first click deselects an option
      • WhereIsMySpoon
        tombee-sl: it doesnt include IE/edge
      • so you might have issues there
      • :D
      • simonstewart
        kpschmidt: the proxy object has always been usable with 3.x. There's been some churn in the spec that geckodriver has had to chew through, though.
      • kpschmidt
        tombee-sl: Edge is only available on Win10
      • simonstewart
        Turns out, the end point implementation is harder than serializing a data structure to JSON
      • pauluchon
        barancev|2: Thank's for your help. I've unselect with JS as a workaround. I'll fill an issue later on my bindings.
      • kpschmidt
        simonstewart: Yes, but it yields errors when I use it: 'InvalidArgumentError: Expected [object Undefined] undefined to be an integer'
      • simonstewart
        In all drivers, or just geckodriver?
      • tombee-sl
        @kpschmidt: Ah, interesting.. alright.
      • kpschmidt
        simonstewart: geckodriver
      • simonstewart
        (Imagine I'm editing the spec at the same time as listening on this channel)
      • OK, so chromedriver works?
      • kpschmidt
        simonstewart: correct
      • simonstewart
        Or, better, IEDriverServer?
      • OK
      • barancev|2
        it's a known issue in geckodriver
      • simonstewart
        whimboo or AutomatedTester: when's the next geckodriver release?
      • barancev|2
        there is a bug report
      • kpschmidt
        simonstewart: haven't checked IEDriverServer yet
      • simonstewart
        geckodriver and IEDriverServer are the two current implementations of the w3c protocol
      • kpschmidt
        simonstewart: understand
      • barancev|2
      • kpschmidt
        barancev|2: Yes, I can work-around it by creating jsonObject and splitting out host/port, but I cannot use Proxy object
      • mfsi_ankitm has quit
      • hazmeister-sl joined the channel
      • hazmeister-sl
        @kpschmidt your modern,ie VM is on all the time?
      • or do you boot it when you need it?
      • I’m asking because I wondering if the licensing in Win10 flips out when the underlying CPU changes
      • llaskin-sl joined the channel
      • kpschmidt
        barancev|2: correction, I'm 'network.proxy.*' in FF profile as current work-around
      • pauluchon
        barancev|2: Do you have tested it with chromedriver ? (multiple select)
      • barancev|2
        pauluchon: yes, chromeDriver 2.31
      • pauluchon
        Ok thank's
      • kpschmidt
        hazmeister-sl: we have a few GA nodes any test team can use that have an associated autoscaling group, but all teams can run a CloudFormation template to create nodes for their specific team
      • hazmeister-sl: all out teams 'tag' AWS resouces, based on team, for billing purposes. ASG's allows use to dial up/down nodes as needed
      • smccarthy joined the channel
      • toddpratt
        OK, So I've been thinking about the about:blank technique for installing window.onload functions, but I don't know if I understood correctly. What would be the order of events? I'm trying .get("about:blank") and then .execute_script("window.location = ...; window.onload = function() { ... }")
      • jimevans has quit
      • I don't think my onload function is being executed
      • zavelevsky-sl joined the channel
      • zavelevsky-sl
        I’ve just discovered what ⌘ + K does on Slack
      • my life is so much better now
      • luke-sl joined the channel
      • luke-sl
        Jump to?
      • (On wind)
      • WhereIsMySpoon
        zavelevsky-sl: :O
      • toddpratt: im not sure the about:blank page is a real webpage
      • zavelevsky-sl
        I asked myself why it’s so irritating to work when signed in to multiple domains
      • WhereIsMySpoon
        i remember something special being about it
      • zavelevsky-sl
        luke-sl yep
      • Selenium-Github
        [13selenium] 15vrana opened pull request #4603: Always use JSON.parse for bot.json.parse (06master...06patch-1) 02https://git.io/v5CQW
      • kpschmidt
        hazmeister-sl: The MS provided VM needs to be converted to an AMI so there is no underlying CPU change
      • hazmeister-sl
        do you terminate them when you are finished?
      • I’ve heard if you boot up a regular Windows VM on AWS, it might switch hosts and force you to reactivate
      • toddpratt
        I'm using chromedriver and trying to install a window.onload function. I need to register backbone events
      • WhereIsMySpoon
        toddpratt: why are you trying to add onload functions to existing webpages?
      • toddpratt: what are you doing? Writing tests? scraping?
      • kpschmidt
        hazmeister-sl: no, we have teams testing at all times across mutiple time zones
      • toddpratt
        scraping
      • WhereIsMySpoon
        toddpratt: ok, and why are you trying to add these onloads?
      • hazmeister-sl
        @kpschmidt thanks - I just started with switching to custom AMIs after using Server 2008
      • toddpratt
        I need to catch events that are only triggered at page load
      • kpschmidt
        hazmeister-sl: for our non-Edge stuff (ie11, Chrome, Firefox) we still us community Windows Server 2016 AMI's and have no reactivate issues
      • hazmeister-sl
        I think the server version of IE causes some issues with text input
      • how are you finding ie11 on there?
      • I’m getting intermittant failure to send any text on server, and the odd missed character on Windows 7
      • kpschmidt
        hazmeister-sl: I'm not getting any issues reported from testing teams - we use the 32-bit IEDriverServer not the 64-bit
      • hazmeister-sl
        same here
      • thanks for sharing :)
      • luke-sl
        hazmeister, you could implement through gems (or jars), some type of failsafe(rs)
      • so i knnow on our android VMs we have a keyboard class which basically uses `send_keys` and then Checks the keys sent.
      • kpschmidt
        hazmeister-sl: np
      • luke-sl
        if they're wrong, it tries again. It's a bit clumsy, but it covers the 0.01%
      • WhereIsMySpoon
        toddpratt: even if you injected them on about:blank, they may not be there when you load a different webpage
      • :logs
      • selbot2
      • kpschmidt
        hazmeister-sl: our testing it not bound to underlying OS, only browsers. We've been on Windows Server 2008 RC2 for 4-5yrs testing IE8-11