Hi,
I am getting following error while running my script on FF.
`WebDriverError': Element is not currently visible and so may not be
interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)
I am using Ruby187 and Watir-webdriver.
Could someone tell me why this error is occuring?
Your HTML and code snippets would help us see what is going on.
In general you cannot interact with elements that are hidden (not visible).
This may be occurring for a few reasons:
- element is hidden (or positioned off the screen) by CSS styles or JavaScript
- your selector found a different
Thanks for your prompt reply, Micheal.
Element is not hidden. It is very simple HTML code. I tried using sleep( )
method for this and fortunately it worked
I don't know the exact problem and this may not be a proper solution. Could
you please suggest something more productive?
HTML CODE:
Hi,
I downloaded the chrome drivers and added path as follows:
profile = Selenium::WebDriver::Chrome::Profile.new
profile['download.prompt_for_download'] = false
profile['download.default_directory'] =
C:\\xampp\\htdocs\\Ruby187\\bin
browser = Watir::Browser.new :chrome,
Hello!
I'm trying to run execScript from watir 1.9.5 on Internet Explorer 6... it
works, but in a certain environemnt I get a Access Denied error from the
object, error code 0x80070005... any idea what is wrong? I checked the
security settings of IE and they all seem good...
Do you think
Hi all,
I posted a few threads the other day, one of which detailed my
difficulty using set_no_wait on a validated text field; and was asked
by Jarmo Pertman whether it was in a frame. It is, and this concerns
me a little; as sadly the site I'm testing is heavily frame-centric,
with no immediate
On Aug 29, 6:47 pm, JMI jurek.michal...@bluewin.ch wrote:
Anyway, i looked at the code and saw that everything that can be done
is already done.
I am not so pessimistic.
Thanks for not being! Your letter made me to look into it once again
and this time i paid more attention to code
Well, just do something like this:
# do something
# let's wait maximum of 10 minutes
wait_until(10*60) {browser.url =~ /part_of_new_expected_url/}
# do something else when the new url is set
Jarmo
On Aug 31, 1:33 am, byung jinuacad...@gmail.com wrote:
I put below code..
def
Ruby Version: 1.8.7
WATIR Version: 2.0.1
OS: Win 7
So I came across this issue as I just upgraded to 2.0.1. Basically,
when i get a TableRow object using the [] method, and then try to get
the text value from it, it always returns the text of the row with
index of zero.
Steps to reproduce:
1)
That bug is captured in: http://jira.openqa.org/browse/WTR-486
And fixed in commit:
https://github.com/bret/watir/commit/3846b6f300f5210df6b196eeeb15684b6e25378b
You should see it in the next patch release.
There is another discussion post about it titled watir 2.0.1 table rows method
broken
Please post your ruby code as well so we can see how you are trying to locate
this element. You can always use wait_until { … locate link … }, but if this is
truly static HTML I would be surprised if that was necessary.
On 2011-08-31, at 12:32 AM, Amit Bobade wrote:
Thanks for your prompt
11 matches
Mail list logo