#selenium

/

      • lucast
        ChromeOptions has a `to_capabilities()` method
      • arosen
        options = webdriver.ChromeOptions(); options.add_argument('...'); desired_capabilities=options.to_capabilities())
      • lucast
        looks like you already have it :)
      • arosen
        but saucelabs tells you to pass in:
      • desired_cap = {    'platform': "Mac OS X 10.9",    'browserName': "chrome",    'version': "31",}
      • lucast
        so just add to that
      • desired_cap.update(options.to_capabilities())
      • arosen
        k, i'll give that a shot! Thanks lucast!
      • lucast
        sure, let me know if it doesn't work
      • arosen
        lucast: ah i think i see why this isn't working but I'm not quite sure the easiest way to fix this.
      • I'm passing in an option to use a socks proxy
      • '--proxy-server=socks5://%s:%s' % (proxy['ip'], proxy['port'])
      • but the socks proxy ip and port maps to localhost where the tunnel is connected.
      • lucast
        you'd have to somehow tunnel from sauce...
      • arosen
        yay i setup the tunnel and it seems to work :)
      • only weird thing i'm seeing is that the url to the website i'm accessing says that it's not secure.
      • dude-x
        is it dropping or rewrting the SSL link
      • arosen
        it shouldn't be.
      • this doesn't occur outside of saucelabs.
      • Let me keep playing with it and see if i can figure out why it isn't working.
      • oxinai joined the channel
      • dude-x
        are you using sauce connect?
      • kpschmidt has quit
      • jkoelewyn-sl has quit
      • oxinai has quit
      • oxinai joined the channel
      • phendryx joined the channel
      • david-r-sl has quit
      • lav joined the channel
      • lav
        hello there, can u pls tell how to download and trial selenium
      • lav has quit
      • andylavarre has quit
      • marxarelli is now known as marxarelli|afk
      • marty__ has quit
      • andylavarre joined the channel
      • kpschmidt joined the channel
      • bsf has quit
      • bsf joined the channel
      • freestyledork is now known as freefork_afk
      • smccarthy joined the channel
      • smccarthy joined the channel
      • marxarelli|afk is now known as marxarelli
      • freefork_afk is now known as freestyledork
      • Chris___ joined the channel
      • Chris___
        I'm finding that the selenium-java-3.8.1.jar file in the maven repo is only 1kb. Anyone else seeing this problem?
      • I've actually looked at all the 3.* versions, and they are all 1kb (with no java code within). Makes compiling kinda hard :(
      • it looks like the last jar file that actually had something in it is selenium-java-2.9.0. So something happened with 3.0...
      • oida joined the channel
      • pa joined the channel
      • daniel-lewis-sl joined the channel
      • smccarthy joined the channel
      • Chris___ has quit
      • oida joined the channel
      • sanscoeu_ joined the channel