Hi Titus,

down votefavorite 
<https://stackoverflow.com/questions/45295700/selenium-code-is-working-but-watir-code-fails-to-produce-the-result#>

In my application, I am writing the following code

b.element(id: 'B10_1_4').click

It's not working and it's throwing the unable to locate the element but 
when I write the following corresponding selenium code, it works fine

b.driver.find_element(id: 'B10_1_4').click

Can any one suggest me what might be the problem here? I have debugged 
through the coding, WATIR element of function calls find_element function 
internally but it fails but it succeeds when I directly makes selenium 
find_element call as I have given in the second line.




Regarding to the above question, you have been helping me in Stackoverflow, 
Since I could not paste the log properly in stackoverflow, I am writing 
here. I have pasted the complete log and you asked me whether it's 
happening in chrome as well and yes, it's happening in chrome as well. 
Please let me know you need any more information regarding to this issue. I 
couldn't perform any click through WATIR code but I could perform click 
through selenium call. So I strongly believe something goes wrong WATIR 
wrapper. Can you please help me to resolve this problem, Since it's not 
working via WATIR, we are using selenium coding for the time being where I 
need to take care of many things which I don't like. If we resolve the 
problem, you can put your answer in stackoverflow, I will accept your 
answer. 

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to