Hi,
I have a little problem with an iframe with an empty body.
Normally an user enters some text in it.
<div class="htmlarea">
<div class="toolbar">
<iframe class="iframe" src="http://..../blank.html"
style="border-width: 1px; width: 598px; height: 94px;">
<html>
<head>
<meta content="text/html; charset=utf-8"
http-equiv="content-type">
<base href="http://....../">
<style type="text/css">
body { background-color: #ffffff; font-family: Trebuchet
MS,Verdana,Arial,Helvetica,sans-serif; }td { border: 1px dotted gray; }
body { direction: ltr; }
</style>
</head>
* <body> </body>*
</html>
</iframe>
When I try to set the text with:
*browser.frame(:class => "iframe").send_keys 'My text!'*
nothing happens. It seems that the focus is not correct because when I
select the text area this command works (using irb).
I tried setting the focus but that doesn't help.
Any idea what I am doing wrong?
Thanks,
Ray
--
--
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/groups/opt_out.