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
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