i am trying to invoke internet explorer using selnium web driver
simonstewart
That whole album is great
Misha
i have tried with firefox and chrome and it worked
but in I.E it throws an error
time out error
Cipi
wht error?
does the browser launch?
does it mention the proxy thing?
WhereIsMySpoon
do you have the IE driver? :D
Misha
yeah i have downloaded IE driver
Cipi
I had many issues launching IE but I solved them bu googling the error
still, does the browser launch?
Misha
yeah the browser launched
with the following message "This is the initial start page for the WebDriver server."
Cipi
and then nothing?
Misha
Command duration or timeout: 3.80 seconds
Cipi
what language are you using?
Misha
java
Cipi
dunno then. I had that problem when I did not use the correct driver initialization
but I use ruby
Misha
Exception in thread "main" org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Browser zoom level was set to 105%. It should be set to 100% (WARNING: The server did not provide any stacktrace information)
Cipi
set the windows zoom to 100%?
jimevans
Misha: just a shot in the dark, but have you set the zoom level to 100%?
Cipi
> a shot in the dark
jimevans
(hint: manually launch IE, and type control+0 [control plus the zero key])
Misha
ok i ll set to 100%
dubner has quit
it works :-)
thank you Cipi and jimevans.
jimevans
fancy that, the exception message describing exactly what the issue is...
Cipi has quit
batuhan_ has quit
Misha has quit
GodFather joined the channel
dolu1 joined the channel
WhereIsMySpoon
good lord
are people really so dense as to not follow instructions?
i mean it says to set the zoom level
"dur what do"
o.o
XgizmoX_
:|
XgizmoX_ is now known as XgizmoX
lukeis
WhereIsMySpoon: pub time? :)
WhereIsMySpoon
ha
not for a while yet
Stevesan has quit
another hour or so
XgizmoX
never too early to start drinking.
WhereIsMySpoon
lol
you belong with lukeis
:p
simonstewart
Hmmm… what’s the best way to determine the OS and bitness of the current OS in python?
XgizmoX
a discrete bitness property?
WhereIsMySpoon
im sure google will tell you that pretty quick
lukeis
looks like platform module?
simonstewart
Something in there
XgizmoX
yeah platform.platform()
simonstewart
A combination of platform.system() and platform.architecture()
XgizmoX
^
simonstewart
Now to get a list of possible values. OS X == ‘Darwin’
What’s the value for Windows?
lukeis
not Darwin :-P
usually i case things if Darwin else if Linux else // it's windows