Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Javascript error while selenium running tests

  • Нет ответов
  • 1 имеет эту проблему
  • 2 просмотра
more options

Hi. Long time user, first time poster. Sorry to bother.

I am using selenium to run some tests with geckoDriver 0.26 for a couple of months now. 4-5 days I noticed an error popup but didn't think about it too much. Now that I dived in I have no idea.

The errors: 1594368211112 mozrunner::runner INFO Running command: "/usr/sbin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileKsGhaj"

   1594368213025       Marionette      INFO    Listening on port 43399
   1594368213119       Marionette      WARN    TLS certificate errors will be ignored for this session
   jul 10, 2020 9:03:33 DA MANHÃ org.openqa.selenium.remote.ProtocolHandshake createSession
   INFO: Detected dialect: W3C
   JavaScript error: resource://gre/modules/URIFixup.jsm, line 281: NS_ERROR_FAILURE: Should pass a non-null uri

specs.Login STANDARD_OUT

   09:03:33.530 INFO  test_url_i_am_using.: firefox 78.0.2 (LINUX) - 2e7c42d3-34aa-4b4a-bd7f-7c311c9ab2c6
 JavaScript error: https://.html line 310 > scriptElement, line 6: ReferenceError: userlike is not defined
   JavaScript warning: https://dq4irj27fs462.cloudfront.net/javascripts/userlike-production-2013.min.js, line 1: unreachable code after return statement
   JavaScript warning: https://dq4irj27fs462.cloudfront.net/javascripts/userlike-production-2013.min.js, line 1: unreachable code after return statement
   JavaScript error: https://test_url_i_am_using/components.0.20200709180122.min.js, line 353: TypeError: v[u] is undefined

Chrome is working fine running the same test I am using firefox 78 now but downgraded to 74 and 73 (The ones that i started with). Still same geckodriver version because no issues so far More wierdly even is, it only fails after the 7-8 click in the middle of the test

I can't share my full logs because i am using this for work. But just ask and ill provide whatever i can. Any

Hi. Long time user, first time poster. Sorry to bother. I am using selenium to run some tests with geckoDriver 0.26 for a couple of months now. 4-5 days I noticed an error popup but didn't think about it too much. Now that I dived in I have no idea. The errors: 1594368211112 mozrunner::runner INFO Running command: "/usr/sbin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileKsGhaj" 1594368213025 Marionette INFO Listening on port 43399 1594368213119 Marionette WARN TLS certificate errors will be ignored for this session jul 10, 2020 9:03:33 DA MANHÃ org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C JavaScript error: resource://gre/modules/URIFixup.jsm, line 281: NS_ERROR_FAILURE: Should pass a non-null uri specs.Login STANDARD_OUT 09:03:33.530 INFO test_url_i_am_using.: firefox 78.0.2 (LINUX) - 2e7c42d3-34aa-4b4a-bd7f-7c311c9ab2c6 JavaScript error: https://.html line 310 > scriptElement, line 6: ReferenceError: userlike is not defined JavaScript warning: https://dq4irj27fs462.cloudfront.net/javascripts/userlike-production-2013.min.js, line 1: unreachable code after return statement JavaScript warning: https://dq4irj27fs462.cloudfront.net/javascripts/userlike-production-2013.min.js, line 1: unreachable code after return statement JavaScript error: https://test_url_i_am_using/components.0.20200709180122.min.js, line 353: TypeError: v[u] is undefined Chrome is working fine running the same test I am using firefox 78 now but downgraded to 74 and 73 (The ones that i started with). Still same geckodriver version because no issues so far More wierdly even is, it only fails after the 7-8 click in the middle of the test I can't share my full logs because i am using this for work. But just ask and ill provide whatever i can. Any