# File lib/scrubyt/core/navigation/agents/firewatir.rb, line 161 def self.handle_relative_path(doc_url) if @@base_dir == nil || doc_url[0..0] == "/" @@base_dir = doc_url.scan(/.+\//)[0] if @@current_doc_protocol == 'file' else @@current_doc_url = ((@@base_dir + doc_url) if doc_url !~ /#{@@base_dir}/) end end