Anonymous ID: e8c467 June 6, 2021, 3:40 a.m. No.13841786   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>1795 >>1819

 

Does any anon have the results of this? I don't have twitter. Screen shots don't download in 'archive'.

 

def visit_twitter_and_log_in

visit 'https://cards-dev.twitter.com/validator'๐Ÿ“

find('input.js-username-field').set(ENV['TWITTER_USERNAME'])

find('input.js-password-field').set(ENV['TWITTER_PASSWORD'])

click_on('Log in')

end

def enter_url_and_click_preview(url)

find('input.FormControl').set(url)

click_on('Preview card')

result = has_content?('Page fetched successfully')

visit 'https://cards-dev.twitter.com/validator'๐Ÿ“

end

end

Q