Incidentally, I was looking for precisely this feature a week ago. I
have a page where Selenium thinks the button is hidden and thus won't
click on it. I believe otherwise. Debugging bug the problem would be
far easier if I could call executeScript on the page with the bot object.

Sure, I can take the remote page and then make it a local test case.
But now I'm not actually testing the same thing, so it calls into
question any result that doesn't match my expectations. In my scenario,
the element was not hidden when I ran in a test case, but was when I ran
remotely. I almost certainly screwed something up there. But, as I
said, that'd be one reason to be able to grab a handle to the bot remotely.

--
Kevin
David Burns Wednesday, February 27, 2013 3:36 PM
They arent accessible for a reason so I wonder what your use case is?

Things like isDisplayed() call isShown for you and not all browsers
have to use the atoms, which means you dont have access to those methods.

David


David Burns
URL: http://www.theautomatedtester.co.uk/



--
You received this message because you are subscribed to the Google
Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to selenium-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Giovanni Grasso Wednesday, February 27, 2013 1:03 PM
Hi,

sorry to bother you on this mailing list, but probably you only know
the answer.

For a strange reason I'm doing a workaround that would need to access
methods like bot.dom.isShown() or goog.dom.someMethod() within the
execution of

driver.executeScript("return bot.dom.isShown(....)" );

I know it's misused and not deprecable, but I was wondering if it's at
all possible.

thanks in advance

--
You received this message because you are subscribed to the Google
Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to selenium-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 7 | next ›
Discussion Overview
groupselenium-developers @
categoriesselenium
postedFeb 27, '13 at 6:03p
activeFeb 28, '13 at 6:59p
posts7
users5
websiteseleniumhq.org

People

Translate

site design / logo © 2021 Grokbase