class Translater

Defined in:

translater.cr
translater/ali.cr
translater/baidu.cr
translater/bing.cr
translater/tencent.cr
translater/version.cr
translater/volc.cr
translater/youdao.cr

Constant Summary

VERSION = {{ (`shards version \"/srv/crystaldoc.info/github-crystal-china-translater-v0.7.0/src/translater\"`).chomp.stringify }}

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(engine : Engine, debug_mode : Bool, target_language : TargetLanguage) #

[View source]

Class Method Detail

def self.run(content, target_language, debug_mode, browser, engine_list, timeout_seconds, engine_init) #

[View source]

Instance Method Detail

def driver : Selenium::Driver #

[View source]
def driver=(driver : Selenium::Driver) #

[View source]
def engine : Engine #

[View source]
def find_or_create_firefox_session : Tuple(Selenium::Session, Bool) #

[View source]
def input(element, content, wait_seconds = 0.05) #

[View source]
def input_use_js(session, selector, content) #

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]