thank you.
it worked.
just my shell's alias was not effected when I started FF.
alias ff="/Applications/Firefox.app/Contents/MacOS/firefox -jssh"
cause I'm a beginer of Mac,
I don't know how to make the setting above effective when I type FF in
the shell.
everytime,I have to type 'source .bashrc'
Hi All,
Here's a solution to find the visible elements in Firefox.
Override the Elements class in MozillaBaseElement.rb file to include
the below code -
require 'firewatir'
class Element
def visible?
jssh_command = "var val = 'true'; var str = ''; var obj =
#{element_object}; while (obj != nul
Put this in your ~/.bash_profile to call your ~/.bashrc:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
If you're running Terminal, it's a login shell which will by default only
call .bash_profile.
Charley Baker
2008/10/28 深谷芳和 <[EMAIL PROTECTED]>
> thank you.
> it worked.
> just my shell'
I have no idea what you are doing when you get this error. Some context
would help.
You could also try "gem install hoe"
Bret
High Bits Perf Tester wrote:
> When running through the tutorial I"m getting this error:
> C:/Apps/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in
> `report_activate_er
I think it's useful to know, how to define a new element.
In following example I define an element with tag-name
thank you LFIdnl for idea
module Watir
def object(how, what)
return Object.new(self, how, what)
end
def objects
return Objects.new(self)
end
class Object < NonContro
The rdoc generation error doesn't really matter. It looks like you need
to update hoe too (gem update hoe).
> High Bits Perf Tester wrote:
>> When running through the tutorial I"m getting this error:
>> C:/Apps/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in
>> `report_activate_error': RubyGem ver
in my implementation I seem to also be checking the value of the
visibility css attribute.
Paul
On Tue, Oct 28, 2008 at 8:04 AM, Tony <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Here's a solution to find the visible elements in Firefox.
> Override the Elements class in MozillaBaseElement.rb file
Thank you, Charley.
I put the bellow code in my ~/.bash_profile, but I still need source
~/.bash_profile this time.
I don't know why.
Charley Baker さんは書きました:
> Put this in your ~/.bash_profile to call your ~/.bashrc:
>
> if [ -f ~/.bashrc ]; then
>source ~/.bashrc
> fi
>
>
> If you're runn
Hi, Wiston,
Your script won't work, it just open the choose file dialog and then hang.
Would you please retest the script again?
Thanks.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message because you are
ahh ... forgot about the visibility attribute. :)
The below is the updated code
def visible?
jssh_command = "var val = 'true'; var str = ''; var obj =
#{element_object}; while (obj != null) { try { str =
document.defaultView.getComputedStyle(obj,null).visibility; if
(str=='hidden') { val = '
10 matches
Mail list logo