lib/ehbrs/google/translate/session.rb in ehbrs-tools-0.37.0 vs lib/ehbrs/google/translate/session.rb in ehbrs-tools-0.38.0

- old
+ new

@@ -8,10 +8,10 @@ class Session START_URL = 'https://translate.google.com.br/#view=home&op=docs&sl=en&tl=pt' CLOSE_POPUP_CSS = '.dismiss-button' FILE_INPUT_XPATH = '//*[@id = "tlid-file-input"]' SUBMIT_XPATH = '//form[@action="//translate.googleusercontent.com/translate_f"]' \ - '//input[@type="submit"]' + '//input[@type="submit"]' RESULT_XPATHS = [ '//script[contains(@src, "https://translate.google.com/translate_a")]', '/html/body/pre' ].freeze