var capabilities = { 'browserName' : 'chrome', 'resolution': '1920x1080', "webdriver.load.strategy": "unstable" } this still waits until forever for http requests on the page to load
jordan___
Traceback (most recent call last): File "C:\Users\Jacogay\Desktop\test.py", line 9, in <module> driver.get(linkToFollow) File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 264, in get self.execute(Command.GET, {'url': url}) File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in execute self.error_handler.check_response(response) File "C:\Python
humanBird
i dont' think i can get around the problem of http requests blocking selenium
i am stuck. i can't test.
js-sl joined the channel
js-sl
humanBird have you tried the strategy lucast mentioned?
Setting the timeout to 1, catching the expected exception and then moving on?
juangj
jordan___: driver.get takes a URL as a string, but you are passing it a WebElement, aren't you?
js-sl
titusfortner-sl yay for sauce!
humanBird
i have tried that as well.
that error is never thrown from the test.
titusfortner-sl
people have a hard time using Sauce if they can't execute in parallel
humanBird
what code should should actually throw this error?
it doesn't seem like it's thrown explicitly from a particular line of code
i don't even know where to catch this error. and it's obviously a hack so it might just not work as well
and if I do catch, am I just copy pasting what i want to run in the catch blocK?
js-sl
titusfortner-sl I ended up using a makefile and the parallel_tests gem to run parallel_cucumber from the makefile
titusfortner-sl
yeah for Ruby you can do a combination of `Rake::Multitask` and parallel_cucumber
js-sl
Back when I was on sauce's RDC, I needed to limit my concurrency so I would create device groups equating to my limit and then work through them that way.
state.driver.manage().timeouts().pageLoadTimeout(10); nope still spinning past 10 seconds "Connecting"
i think this just doesn't work. it's broken
dude-x
is driver.get hangign?
humanBird
driver.get is not hanging.
i see that the page is there. or maybe it is. you can't really tell if it's hanging on driver.get or driver.findElement since you can't debug in javscript
with asynchronous execution each line of code could still be "halfway done"
either way, an error should've been thrown after 10 seconds
and it hasn't
i guess selenium is also broken in addition to my company's application.
i really don't have time to look at hundreds of ads address and add them to hosts files
ok i'm drawing the line
no more time spent on this stupid issue
dude-x
humanBird does the javascript version of webdriver have execute Async script?
humanBird
i'm not sure
dude-x
it shold have a set timeout call and then a execute async script call.
humanBird
i just tried using executeAsyncScript. doesn't error. it also doesn't "return window.stop"
ads are still spinning.
maybe window.stop()
false hope i bet
smccarthy has quit
yea not working tried various combinations of setInterval setTimeout window.stop
it doesn't work.
dude-x
i don't envy you. having to automate ads...
humanBird
it would help greatly if the tools i am using actually worked..
they are after all just frames and other elements
humanBird has quit
smccarthy joined the channel
GodFather_ has quit
smccarthy joined the channel
titusfortner-sl has quit
js-sl has quit
GodFather_ joined the channel
roelmonnens joined the channel
roelmonnens has quit
simonstewart joined the channel
simonstewart has quit
stooj joined the channel
Selenium-Github
[13selenium] 15juangj opened pull request #4120: Allow custom session factories in WebDriverServlet. (06master...06passthrough-factories) 02https://git.io/vHu0b
smccarthy joined the channel
smccarthy joined the channel
smccarth_ joined the channel
jordan___ has quit
smccarthy joined the channel
[13selenium] 15MatthewLymer opened pull request #4121: Log level is always All (06master...06patch-1) 02https://git.io/vHuzU
roelmonnens joined the channel
roelmonnens has quit
sgen joined the channel
simonstewart joined the channel
simonstewart has quit
marxarelli|afk has quit
selbot2 has quit
selbot2 joined the channel
phasednorth-sl joined the channel
kggr has quit
smccarth_ joined the channel
rnmv has quit
loophole
is there an example, within another gem or package that is creating a driver instance without launching a browser? I read someone say subclass the webdriver to skip the start_client method. Looking for an example.
I finally got the driver instance to control other instances by changing the instance ID, but it's not much use in my case if I have to wait for a browser to launch to get the driver instance
s/instance ID/session_id/
phasednorth-sl has quit
dude-x has quit
dude-x joined the channel
simonstewart joined the channel
kggr joined the channel
simonstewart has quit
stooj joined the channel
stooj joined the channel
CtrlC joined the channel
stooj joined the channel
chrisw_ joined the channel
stooj_ joined the channel
Lina_ joined the channel
chele joined the channel
stooj joined the channel
roelmonnens joined the channel
TacticSiege has quit
stooj joined the channel
TacticSiege joined the channel
stooj joined the channel
michl68 joined the channel
stooj joined the channel
fabrice31 joined the channel
roelmonn_ joined the channel
stooj has quit
stooj joined the channel
chrisw_ joined the channel
roelmonnens has quit
roelmonn_ has quit
simonstewart joined the channel
simonstewart has quit
Stevesan joined the channel
chele has quit
chele joined the channel
chele hola
niQo joined the channel
simonstewart joined the channel
simonstewart has quit
oida joined the channel
chrisw_ joined the channel
diemol-sl joined the channel
diemol-sl
@chele Hola!
TacticSiege has quit
simonstewart joined the channel
cristi joined the channel
simonstewart
:note titusfortner-sl: the spec spells it out. You're recommended not to put intermediary node information in the capabilities themselves. Unless they're properly stripped, you're likely to never make a match in New Session. Of course, if you strip the capabilties in the intermediary node, you're golden.