module PWN::WWW::TradingView
def self.authors
def self.authors rt@0dayinc.com>
def self.close(opts = {})
def self.close(opts = {}) [:browser_obj] sparentBrowser.close( wser_obj => e
def self.help
def self.help self}.open( 'optional - :firefox|:chrome|:ie|:headless (Defaults to :firefox)', al - scheme://proxy_host:port || tor' self}.login( required - browser_obj returned from #open method', uired - username', ional - passwd (will prompt if blank), self}.logout( required - browser_obj returned from #open method' required - browser_obj returned from #open method'
def self.login(opts = {})
def self.login(opts = {}) [:browser_obj] sername].to_s.scrub.strip.chomp assword] obj[:browser] Plugins::AuthenticationHelper.mask_password :password].to_s.scrub.strip.chomp s://tradingview.com') ex: 3).wait_until(&:present?).click 'Sign in').wait_until(&:present?).click 'Email').wait_until(&:present?).click (name: 'username').wait_until(&:present?).set(username) (name: 'password').wait_until(&:present?).set(password) t: 'Sign in').click! => e
def self.logout(opts = {})
def self.logout(opts = {}) [:browser_obj] obj[:browser] ex: 4).wait_until(&:present?).click 'Sign Out').wait_until(&:present?).click! => e
def self.open(opts = {})
def self.open(opts = {}) :Plugins::TransparentBrowser.open(opts) obj[:browser] s://tradingview.com') => e