On Jan 21, 2:38 pm, Željko Filipin <[email protected]>
wrote:
> On Thu, Jan 21, 2010 at 9:48 AM, Jarmo Pertman <[email protected]> wrote:
> > then there is an example of using :after? (although not :before?,
> > though this is also available)
>
> I think :before? is deprecated because it did not work.
:before? seems to work for me with the span for example, so why are
you saying it doesn't work? I think that i've seen that beforeText and
afterText are the methods, which doesn't seem to work correctly, maybe
youre confusing with these?
Also, no comments or any other indications that :before? or :after? is
broken in current Watir source code either:
http://github.com/bret/watir/blob/master/watir/lib/watir/element.rb


>
> > In other words - it works okay with span, but not with input field. Is
> > there anywhere most up to date documentation so everyone would know if
> > it's supported or not? If there is some outdated documentation, can it
> > be deleted from the web?
>
> Wiki should be up to date. If something is wrong, please fix it. If you need
> any help with the wiki, just let me know.
That's the case - i don't know if it is supposed to work like that or
not :-) It seems to me like a bug due to no other indications.


>
> These are the pages that mention :after?
>
> http://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+El...http://wiki.openqa.org/display/WTR/How+and+Whathttp://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+El...
>
> Athttp://wiki.openqa.org/display/WTR/Watir+Methods+Supported+by+HTML+El...
> can mark elements that work with :after?. For now, only link is marked
> as supported.
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to