So selenium is not able to handle this query `//a[@onclick = \"click_adv_action('internet');\"]`
jsdorlus joined the channel
This works perfectly fine in the mozilla console but selenium throws an error saying `unexpected token \` is encountered.
The XML of interest is:
<a onclick="click_adv_action('internet');">
I am passing it to selenium as follows in python
```
path = "//a[@onclick = \\\"%s\\\"]" % link
(webPage.find_element_by_xpath(path)).click()
```
jsdorlus has quit
stove joined the channel
stove
Can anyone help with a selenium/firefox problem I'm having?
stove has quit
jsdorlus joined the channel
number_three__ has quit
number_three__ joined the channel
energizer joined the channel
energizer joined the channel
errant_rider joined the channel
errant_rider has quit
errant_rider joined the channel
freestyledork is now known as freefork_afk
errant_rider has quit
jsdorlus joined the channel
jsdorlus has quit
smccarth_ joined the channel
andylavarre has quit
jsdorlus joined the channel
aName has quit
jsdorlus has quit
selbot2 has quit
selbot2 joined the channel
fairuz joined the channel
mach6_ has quit
Nikunj_ joined the channel
Nikunj_
My CEF application is updated to QT 5.10.1 so my automation doenst support sendkeys fundction
Other clicks are working fine
can any one help?
likewhoa- has quit
likewhoa joined the channel
spathare joined the channel
dell joined the channel
mfsi_ankitm joined the channel
fairuz has quit
chele joined the channel
dell has quit
jsdorlus joined the channel
chiran joined the channel
knsrvl00 joined the channel
chiran
i canot find a element
i dont no how to write absolute xapth
mreznik joined the channel
chiran has quit
bpascal joined the channel
czart joined the channel
barancev joined the channel
Gauraw joined the channel
Gauraw
Hi
can anyone help regarding some selenium questions
jsdorlus joined the channel
bpascal has left the channel
jsdorlus has quit
mey joined the channel
mey
hi everyone
in selenium is there a way to center a specific point of a map?
Gauraw
Hi
Can we merge two testng reports in one
zhijianqt-sl joined the channel
hi
Can we merge two testng reports in one
Nikunj_ has quit
localh0st
Gauraw: ?
mreznik has quit
Gauraw
hi
Gauraw has quit
mey has quit
kpatticha joined the channel
KaibutsuX joined the channel
mreznik joined the channel
Kaibutsu1 has quit
jmvanel joined the channel
KaL joined the channel
Kaibutsu1 joined the channel
srikanth joined the channel
srikanth
do we have documentation for selenium versions supported firefox versions?
KaibutsuX has quit
luke-sl joined the channel
luke-sl
kind of.
Selenium should support any version of firefox up to a point. The driver you use is probably more indicative of where your support will lie going forward (Assuming you're using the 3.x series of selenium).
srikanth
i am looking for selenium 2.47 supported firefox version
i am getting this error when using FF39 - java.lang.NoSuchMethodError: org.openqa.selenium.Proxy.extractFrom(Lorg/openqa/selenium/Capabilities;)Lorg/openqa/selenium/Proxy;
luke-sl
Right, my first piece of advice is to be using the latest 2.x version. Which is 2.53 With that you are "by default" configured to use FirefoxDriver (The legacy implementation).
That driver will support up to Firefox 47.0.1 from the regular releases and 52ESR from the ESR releases
You will get little to no help using selenium 2.47 I'm afraid.
My advice is obviously to try use a 3.x version. But if you find restricted to the 2.x series. Then the latest is an absolute must.
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
i am using sel 47 with FF 39
simonstewart
The latest selenium is 3.11. There is no selenium 47
srikanth
sel 2.47
czart_ joined the channel
simonstewart
Oh wow. That's old
Did it work before?
(biab)
luke-sl
i was chatting with him earlier about this. Advising him to go to 2.53 as a bare minimum
Also that error srikanth - That indicates that your remote browser has likely timed out / crashed. Or your PC could have been restarted mid-flow, Or you may have sent a kill-signal to it?
czart has quit
kpattich__ joined the channel
kpattich_ has quit
srikanth
ok
simonstewart has quit
what is the method to print selenium version in java?
luke-sl
?? Whatever your package is, is what the version is.
So when you grab your gem / jar / nuget package / pypack / insert other name here.
the number on that is the version number.
srikanth
in runtime how to print it?
abrusby-sl joined the channel
luke-sl
It would be language specific. I'm not really sure how you would do that though. Valid question.
barancev-sl has quit
abrusby-sl
Easier just to get it from your projects dependencies
takes less time to do that than get it at run time